Skip to content

Commit

Permalink
enhance(6): update 6 test case (type-challenges#6307)
Browse files Browse the repository at this point in the history
  • Loading branch information
zqran authored Feb 7, 2022
1 parent 2bcca13 commit 9c77b8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions questions/6-hard-simple-vue/test-cases.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import { Equal, Expect } from '@type-challenges/utils'

SimpleVue({
Expand Down Expand Up @@ -26,14 +25,13 @@ SimpleVue({
return Math.random()
},
hi() {
alert(this.amount)
alert(this.fullname.toLowerCase())
alert(this.getRandom())
},
test() {
const fullname = this.fullname
const cases: [
Expect<Equal<typeof fullname, string>>,
] = [] as any
const cases: [Expect<Equal<typeof fullname, string>>] = [] as any
},
},
})

0 comments on commit 9c77b8c

Please sign in to comment.