mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 05:17:43 -05:00
Added '[Symbol.toStringTag]' property to 'GeneratorFunction'.
This commit is contained in:
2
src/lib/es6.d.ts
vendored
2
src/lib/es6.d.ts
vendored
@@ -565,7 +565,7 @@ interface IterableIterator<T> extends Iterator<T> {
|
||||
}
|
||||
|
||||
interface GeneratorFunction extends Function {
|
||||
|
||||
[Symbol.toStringTag]: string;
|
||||
}
|
||||
|
||||
interface GeneratorFunctionConstructor {
|
||||
|
||||
Reference in New Issue
Block a user