TypeScript/tests/cases/fourslash/getSemanticDiagnosticForDeclaration.ts
Wesley Wigham 20f9493f04
Allow all private declarations to be emitted in declaration output (#23351)
* Mostly functional WIP

* Fix accessors, symbol stringification

* Accept/update changed baselines

* Move type definition so file build order doesnt matter

* Accept post-merge test update

* Rename function, add doc
2018-05-09 19:53:44 -07:00

15 lines
339 B
TypeScript

/// <reference path="fourslash.ts" />
// @module: CommonJS
// @declaration: true
//// export function /*1*/foo/*2*/() {
//// interface privateInterface {}
//// class Bar implements privateInterface { }
//// return Bar;
//// }
verify.errorExistsBetweenMarkers("1", "2");
verify.numberOfErrorsInCurrentFile(1);