TypeScript/tests/baselines/reference/generatorInAmbientContext4.d.errors.txt
2015-06-01 17:40:35 -07:00

9 lines
No EOL
407 B
Text

tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext4.d.ts(2,14): error TS1221: Generators are not allowed in an ambient context.
==== tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext4.d.ts (1 errors) ====
declare module M {
function *generator(): any;
~
!!! error TS1221: Generators are not allowed in an ambient context.
}