mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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)
|