Files
tsgo/testdata/baselines/reference/submodule/conformance/generatorInAmbientContext1.errors.txt

9 lines
293 B
Plaintext

generatorInAmbientContext1.ts(2,5): error TS1221: Generators are not allowed in an ambient context.
==== generatorInAmbientContext1.ts (1 errors) ====
declare class C {
*generator(): any;
~
!!! error TS1221: Generators are not allowed in an ambient context.
}