mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
210 B
TypeScript
11 lines
210 B
TypeScript
//// [tests/cases/compiler/ambientModules.ts] ////
|
|
|
|
//// [ambientModules.ts]
|
|
declare namespace Foo.Bar { export var foo; };
|
|
Foo.Bar.foo = 5;
|
|
|
|
//// [ambientModules.js]
|
|
"use strict";
|
|
;
|
|
Foo.Bar.foo = 5;
|