mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
295 B
TypeScript
13 lines
295 B
TypeScript
//// [tests/cases/compiler/es2018ObjectAssign.ts] ////
|
|
|
|
//// [es2018ObjectAssign.ts]
|
|
const test = Object.assign({}, { test: true });
|
|
|
|
declare const p: Promise<number>;
|
|
p.finally();
|
|
|
|
//// [es2018ObjectAssign.js]
|
|
"use strict";
|
|
const test = Object.assign({}, { test: true });
|
|
p.finally();
|