Skip to content

Commit

Permalink
style: typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed May 5, 2024
1 parent becde87 commit a5661ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/client/tests/typings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import vine from '@vinejs/vine'
import { test } from '@japa/runner'
import type { InferInput } from '@vinejs/vine/types'
import type { MakeOptional, MakeTuyauRequest, Serialize, Simplify } from '@tuyau/utils/types'
import type { MakeTuyauRequest, Serialize, Simplify } from '@tuyau/utils/types'

import { createTuyau } from '../index.js'
import type { InferRequestType, InferResponseType } from '../index.js'
Expand Down Expand Up @@ -201,7 +201,8 @@ test.group('Client | Typings', () => {
expectTypeOf(result).toEqualTypeOf<string>()
})

test('file typing', async ({ expectTypeOf }) => {
test('file typing', async ({}) => {
// @ts-expect-error
vine.file = () => vine.string()

const request = vine.compile(
Expand Down

0 comments on commit a5661ef

Please sign in to comment.