9 lines
387 B
Plaintext
9 lines
387 B
Plaintext
tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext3.d.ts(2,5): error TS1221: Generators are not allowed in an ambient context.
|
|
|
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext3.d.ts (1 errors) ====
|
|
declare class C {
|
|
*generator(): any;
|
|
~
|
|
!!! error TS1221: Generators are not allowed in an ambient context.
|
|
} |