Files
tsgo/testdata/baselines/reference/submodule/conformance/generatorInAmbientContext4.d.errors.txt

9 lines
320 B
Plaintext

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