Skip to content

Commit

Permalink
feat(types): add missing wrappers type def in ArrayWrapper (#164)
Browse files Browse the repository at this point in the history
Offer missing field `wrappers` in TS type definition to access wrappers directly from a test.
  • Loading branch information
wtho authored and eddyerburgh committed Nov 9, 2017
1 parent 3f3c64a commit b3c12c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ interface Wrapper<V extends Vue> extends BaseWrapper {

interface WrapperArray<V extends Vue> extends BaseWrapper {
readonly length: number
readonly wrappers: Array<Wrapper<V>>

at (index: number): Wrapper<V>
}
Expand Down

1 comment on commit b3c12c4

@lambdalisue
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Please sign in to comment.