2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/externFunc.ts ===
|
|
|
|
declare function parseInt(s:string):number;
|
2015-04-13 23:01:57 +02:00
|
|
|
>parseInt : { (s: string, radix?: number): number; (s: string): number; }, Symbol(parseInt, Decl(lib.d.ts, 28, 38), Decl(externFunc.ts, 0, 0))
|
|
|
|
>s : string, Symbol(s, Decl(externFunc.ts, 0, 26))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
parseInt("2");
|
|
|
|
>parseInt("2") : number
|
2015-04-13 23:01:57 +02:00
|
|
|
>parseInt : { (s: string, radix?: number): number; (s: string): number; }, Symbol(parseInt, Decl(lib.d.ts, 28, 38), Decl(externFunc.ts, 0, 0))
|
2015-04-13 21:36:11 +02:00
|
|
|
>"2" : string
|
2014-08-15 23:33:16 +02:00
|
|
|
|