11 lines
No EOL
271 B
TypeScript
11 lines
No EOL
271 B
TypeScript
// @target: ES6
|
|
|
|
// error: no intialization expected in ambient declarations
|
|
declare const c1: boolean = true;
|
|
declare const c2: number = 0;
|
|
declare const c3 = null, c4 :string = "", c5: any = 0;
|
|
|
|
declare module M {
|
|
const c6 = 0;
|
|
const c7: number = 7;
|
|
} |