Files
tsgo/testdata/baselines/reference/submodule/compiler/externSyntax.js

21 lines
290 B
TypeScript

//// [tests/cases/compiler/externSyntax.ts] ////
//// [externSyntax.ts]
declare var v;
declare namespace M {
export class D {
public p;
}
export class C {
public f();
public g() { } // error body
}
}
//// [externSyntax.js]
"use strict";