2015-06-02 02:40:35 +02:00
|
|
|
tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext3.d.ts(2,5): error TS1221: Generators are not allowed in an ambient context.
|
2015-04-23 01:35:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext3.d.ts (1 errors) ====
|
|
|
|
declare class C {
|
|
|
|
*generator(): any;
|
|
|
|
~
|
2015-06-02 02:40:35 +02:00
|
|
|
!!! error TS1221: Generators are not allowed in an ambient context.
|
2015-04-23 01:35:45 +02:00
|
|
|
}
|