Skip to content

Commit

Permalink
Update test-cases.ts (type-challenges#8890)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiatLn authored Apr 19, 2022
1 parent 1e088d0 commit f0d9bc4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions questions/3312-easy-parameters/test-cases.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Equal, Expect } from '@type-challenges/utils'
import { ExpectFalse, NotEqual } from '@type-challenges/utils'
import type { Equal, Expect } from '@type-challenges/utils'

const foo = (arg1: string, arg2: number): void => {}
const bar = (arg1: boolean, arg2: { a: 'A' }): void => {}
Expand All @@ -9,4 +8,4 @@ type cases = [
Expect<Equal<MyParameters<typeof foo>, [string, number]>>,
Expect<Equal<MyParameters<typeof bar>, [boolean, { a: 'A' }]>>,
Expect<Equal<MyParameters<typeof baz>, []>>,
]
]

0 comments on commit f0d9bc4

Please sign in to comment.