mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
189 B
TypeScript
12 lines
189 B
TypeScript
//// [tests/cases/compiler/externFunc.ts] ////
|
|
|
|
//// [externFunc.ts]
|
|
declare function parseInt(s:string):number;
|
|
|
|
parseInt("2");
|
|
|
|
|
|
//// [externFunc.js]
|
|
"use strict";
|
|
parseInt("2");
|