mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
322 B
TypeScript
16 lines
322 B
TypeScript
//// [tests/cases/compiler/constDeclarations-ambient.ts] ////
|
|
|
|
//// [constDeclarations-ambient.ts]
|
|
// No error
|
|
declare const c1: boolean;
|
|
declare const c2: number;
|
|
declare const c3, c4 :string, c5: any;
|
|
|
|
declare namespace M {
|
|
const c6;
|
|
const c7: number;
|
|
}
|
|
|
|
//// [constDeclarations-ambient.js]
|
|
"use strict";
|