13 lines
191 B
TypeScript
13 lines
191 B
TypeScript
//// [generatorTypeCheck41.ts]
|
|
function* g() {
|
|
let x = {
|
|
[yield 0]: 0
|
|
}
|
|
}
|
|
|
|
//// [generatorTypeCheck41.js]
|
|
function* g() {
|
|
let x = {
|
|
[yield 0]: 0
|
|
};
|
|
}
|