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

9 lines
316 B
Plaintext

generatorInAmbientContext2.ts(2,14): error TS1221: Generators are not allowed in an ambient context.
==== generatorInAmbientContext2.ts (1 errors) ====
declare namespace M {
function *generator(): any;
~
!!! error TS1221: Generators are not allowed in an ambient context.
}