mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-11 01:34:55 -06:00
Added '[Symbol.toStringTag]' property to 'GeneratorFunction'.
This commit is contained in:
parent
fec691ec22
commit
347359c18e
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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user