TypeScript/tests/baselines/reference/functionOnlyHasThrow.js

10 lines
200 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [functionOnlyHasThrow.ts]
function clone():number {
throw new Error("To be implemented");
}
//// [functionOnlyHasThrow.js]
function clone() {
throw new Error("To be implemented");
}