Skip to content

Commit

Permalink
fix(app-vite): augment vue instead of vue/runtime-core (fix #17416)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufkandemir authored Sep 17, 2024
1 parent 391ed78 commit 2f0c430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-vite/types/prefetch.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type PrefetchCallback<TState = any> = (
options: PreFetchOptions<TState>
) => void | Promise<void> | Promise<{}>;

declare module "@vue/runtime-core" {
declare module "vue" {
interface ComponentCustomOptions {
preFetch?: PrefetchCallback;
}
Expand Down

0 comments on commit 2f0c430

Please sign in to comment.