mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
308 B
TypeScript
25 lines
308 B
TypeScript
//// [tests/cases/compiler/enumDecl1.ts] ////
|
|
|
|
//// [enumDecl1.ts]
|
|
declare namespace mAmbient {
|
|
enum e {
|
|
x,
|
|
y,
|
|
z
|
|
}
|
|
}
|
|
|
|
|
|
//// [enumDecl1.js]
|
|
"use strict";
|
|
|
|
|
|
//// [enumDecl1.d.ts]
|
|
declare namespace mAmbient {
|
|
enum e {
|
|
x,
|
|
y,
|
|
z
|
|
}
|
|
}
|