5 lines
105 B
TypeScript
5 lines
105 B
TypeScript
// @target: es6
|
|
function * foo() {
|
|
// Legal to use 'yield' in a type context.
|
|
var v: yield;
|
|
}
|