mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
297 B
Plaintext
9 lines
297 B
Plaintext
generatorInAmbientContext3.d.ts(2,5): error TS1221: Generators are not allowed in an ambient context.
|
|
|
|
|
|
==== generatorInAmbientContext3.d.ts (1 errors) ====
|
|
declare class C {
|
|
*generator(): any;
|
|
~
|
|
!!! error TS1221: Generators are not allowed in an ambient context.
|
|
} |