TypeScript/tests/baselines/reference/externFunc.types
2014-08-25 10:55:22 -07:00

9 lines
205 B
Text

=== tests/cases/compiler/externFunc.ts ===
declare function parseInt(s:string):number;
>parseInt : typeof parseInt
>s : string
parseInt("2");
>parseInt("2") : number
>parseInt : typeof parseInt