mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
8 lines
249 B
TypeScript
8 lines
249 B
TypeScript
declare const x: number
|
|
declare const nnnu: [number, number, number?]
|
|
declare const nntnnnt: [number, number] | [number, number, number]
|
|
declare function fn(a: number, b: number, bb: number, ...c: number[]): number
|
|
|
|
fn(...nnnu, x)
|
|
fn(...nntnnnt, x)
|