Skip to content

Commit

Permalink
remove unnecessary generic prm
Browse files Browse the repository at this point in the history
  • Loading branch information
umutozel committed Jan 21, 2019
1 parent b58f495 commit 0aaaef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/query-part.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe('Jinqu should be able to use', () => {
it('ofType', () => {
// primitive test
const items: any[] = ['1', 2, 'a3', 4, false, '5'];
const numbers = items.asQueryable().ofType<Number>(Number).toArray();
const numbers = items.asQueryable().ofType(Number).toArray();
expect(numbers).to.deep.equal([2, 4]);

// object test
Expand Down

0 comments on commit 0aaaef8

Please sign in to comment.