12 lines
208 B
TypeScript
12 lines
208 B
TypeScript
//// [functionWithThrowButNoReturn1.ts]
|
|
function fn(): number {
|
|
throw new Error('NYI');
|
|
var t;
|
|
}
|
|
|
|
|
|
//// [functionWithThrowButNoReturn1.js]
|
|
function fn() {
|
|
throw new Error('NYI');
|
|
var t;
|
|
}
|