mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
316 B
Plaintext
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.
|
|
} |