mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +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)
|