10 lines
179 B
TypeScript
10 lines
179 B
TypeScript
//// [generatorTypeCheck40.ts]
|
|
function* g() {
|
|
class C extends (yield 0) { }
|
|
}
|
|
|
|
//// [generatorTypeCheck40.js]
|
|
function* g() {
|
|
class C extends (yield 0) {
|
|
}
|
|
}
|