mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
17 lines
383 B
TypeScript
17 lines
383 B
TypeScript
// @target: es5
|
|
// @importHelpers: true
|
|
// @isolatedModules: true
|
|
// @noTypesAndSymbols: true
|
|
// @noEmit: true
|
|
// @filename: main.ts
|
|
|
|
export {};
|
|
const k = [1, , 2];
|
|
const o = [3, ...k, 4];
|
|
|
|
// @filename: tslib.d.ts
|
|
// this is a pre-TS4.4 versions of emit helper, which always forced array packing
|
|
declare module "tslib" {
|
|
function __spreadArray(to: any[], from: any[]): any[];
|
|
}
|