TypeScript/tests/baselines/reference/FunctionDeclaration13_es6.js

13 lines
243 B
TypeScript

//// [FunctionDeclaration13_es6.ts]
function * foo() {
// Legal to use 'yield' in a type context.
var v: yield;
}
//// [FunctionDeclaration13_es6.js]
function foo() {
// Legal to use 'yield' in a type context.
var v;
}