mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
290 B
TypeScript
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";
|