|
| 1 | +=== tests/cases/compiler/es2018ObjectAssign.ts === |
| 2 | +const test = Object.assign({}, { test: true }); |
| 3 | +>test : Symbol(test, Decl(es2018ObjectAssign.ts, 0, 5)) |
| 4 | +>Object.assign : Symbol(ObjectConstructor.assign, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) |
| 5 | +>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) |
| 6 | +>assign : Symbol(ObjectConstructor.assign, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) |
| 7 | +>test : Symbol(test, Decl(es2018ObjectAssign.ts, 0, 32)) |
| 8 | + |
| 9 | +const p: Promise<number>; |
| 10 | +>p : Symbol(p, Decl(es2018ObjectAssign.ts, 2, 5)) |
| 11 | +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) |
| 12 | + |
| 13 | +p.finally(); |
| 14 | +>p.finally : Symbol(Promise.finally, Decl(lib.es2018.promise.d.ts, --, --)) |
| 15 | +>p : Symbol(p, Decl(es2018ObjectAssign.ts, 2, 5)) |
| 16 | +>finally : Symbol(Promise.finally, Decl(lib.es2018.promise.d.ts, --, --)) |
| 17 | + |
0 commit comments