TypeScript/tests/cases/compiler/functionWithThrowButNoReturn1.ts

5 lines
65 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function fn(): number {
throw new Error('NYI');
var t;
}