mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Change line 9779 from
```ts
class QueryCollection<T> implements Array<T> {
```
to
```ts
class QueryCollection<T> extends Array<T> {
```
***Because I getting the error TS2420: Class 'QueryCollection<T>' incorrectly implements interface 'T[]'.***
*** Property 'find' is missing in type 'QueryCollection<T>'.***
After implementing find in .d.ts getting next error about method findIndex and so on.
Simplest way to fix it, was let QueryCollection extends Array and not implement it.
***Typescript version***
1.8.7
|
||
|---|---|---|
| .. | ||
| winjs-1.0.d.ts | ||
| winjs-2.0.d.ts | ||
| winjs-2.1.d.ts | ||
| winjs.d.ts | ||
| winjs.d.ts.tscparams | ||