Skip to content

Commit

Permalink
Fix declare types
Browse files Browse the repository at this point in the history
  • Loading branch information
ycs77 authored and claudiodekker committed Jun 24, 2021
1 parent 61b786b commit dde1ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/inertia-vue3/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export interface InertiaFormProps<TForm> {
cancel(): void
}

export declare type InertiaForm<TForm> = TForm & InertiaFormProps<TForm>
export type InertiaForm<TForm> = TForm & InertiaFormProps<TForm>

export declare function useForm<TForm>(data: TForm): InertiaForm<TForm>

Expand All @@ -92,7 +92,7 @@ export declare function usePage<PageProps>(): {
version: ComputedRef<string | null>
}

export declare type InertiaHead = DefineComponent<{
export type InertiaHead = DefineComponent<{
title?: string
}>

Expand Down

0 comments on commit dde1ce1

Please sign in to comment.