TypeScript/tests/cases/fourslash/getDeclarationDiagnostics.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

23 lines
459 B
TypeScript

/// <reference path="fourslash.ts" />
// @declaration: true
// @out: true
// @Filename: inputFile1.ts
//// module m {
//// export function foo() {
//// class C implements I { }
//// interface I { }
//// return C;
//// }
//// } /*1*/
// @Filename: input2.ts
//// var x = "hello world"; /*2*/
goTo.marker("1");
verify.numberOfErrorsInCurrentFile(1);
goTo.marker("2");
verify.numberOfErrorsInCurrentFile(0);