9 lines
No EOL
403 B
Text
9 lines
No EOL
403 B
Text
tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext2.ts(2,14): error TS1221: Generators are not allowed in an ambient context.
|
|
|
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext2.ts (1 errors) ====
|
|
declare module M {
|
|
function *generator(): any;
|
|
~
|
|
!!! error TS1221: Generators are not allowed in an ambient context.
|
|
} |