14 lines
181 B
JavaScript
14 lines
181 B
JavaScript
|
//// [symbolProperty58.ts]
|
||
|
interface SymbolConstructor {
|
||
|
foo: string;
|
||
|
}
|
||
|
|
||
|
var obj = {
|
||
|
[Symbol.foo]: 0
|
||
|
}
|
||
|
|
||
|
//// [symbolProperty58.js]
|
||
|
var obj = {
|
||
|
[Symbol.foo]: 0
|
||
|
};
|