TypeScript/tests/cases/compiler/functionWithThrowButNoReturn1.ts
2014-07-12 17:30:19 -07:00

5 lines
65 B
TypeScript

function fn(): number {
throw new Error('NYI');
var t;
}