mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
367 B
Plaintext
13 lines
367 B
Plaintext
//// [tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration13_es6.ts] ////
|
|
|
|
=== FunctionDeclaration13_es6.ts ===
|
|
function * foo() {
|
|
>foo : Symbol(foo, Decl(FunctionDeclaration13_es6.ts, 0, 0))
|
|
|
|
// Legal to use 'yield' in a type context.
|
|
var v: yield;
|
|
>v : Symbol(v, Decl(FunctionDeclaration13_es6.ts, 2, 6))
|
|
>yield : Symbol(yield)
|
|
}
|
|
|