7 lines
151 B
TypeScript
7 lines
151 B
TypeScript
//// [generatorTypeCheck32.ts]
|
|
var s: string;
|
|
var f: () => number = () => yield s;
|
|
|
|
//// [generatorTypeCheck32.js]
|
|
var s;
|
|
var f = () => yield s;
|