12 lines
166 B
JavaScript
12 lines
166 B
JavaScript
|
//// [symbolType16.ts]
|
||
|
interface Symbol {
|
||
|
newSymbolProp: number;
|
||
|
}
|
||
|
|
||
|
var sym: symbol;
|
||
|
sym.newSymbolProp;
|
||
|
|
||
|
//// [symbolType16.js]
|
||
|
var sym;
|
||
|
sym.newSymbolProp;
|