Skip to content

Commit

Permalink
fix: Correct the way BSON arrays are define to permit use of array op…
Browse files Browse the repository at this point in the history
…erators
  • Loading branch information
notheotherben committed Aug 1, 2016
1 parent 388f784 commit 9d5633a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/BSON.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ export interface BSONObject {
[property: string]: BSONType;
}

export interface BSONArray {
[property: number]: BSONType;
export interface BSONArray extends Array<BSONType> {

}

0 comments on commit 9d5633a

Please sign in to comment.