Remove Generator interface from ES6 lib. We may need to add a better typing later

This commit is contained in:
Jason Freeman
2015-05-04 16:44:26 -07:00
parent 28d9c6cd7e
commit 5fcc4e9a49
13 changed files with 173 additions and 181 deletions

8
src/lib/es6.d.ts vendored
View File

@@ -500,14 +500,6 @@ interface GeneratorFunctionConstructor {
}
declare var GeneratorFunction: GeneratorFunctionConstructor;
interface Generator<T> extends IterableIterator<T> {
next(value?: any): IteratorResult<T>;
throw(exception: any): IteratorResult<T>;
return(value: T): IteratorResult<T>;
[Symbol.iterator](): Generator<T>;
[Symbol.toStringTag]: string;
}
interface Math {
/**
* Returns the number of leading zero bits in the 32-bit binary representation of a number.