forked from inertiajs/inertia
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QA: Remove unused props type + add extra types just in case
- Loading branch information
Showing
3 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import type { PageProps } from '@inertiajs/core' | ||
import type { ComponentType } from 'svelte' | ||
|
||
export type ComponentsResolver = (name: string) => ResolvedComponents | Promise<ResolvedComponents> | ||
|
||
export type ResolvedComponents = { | ||
default?: ComponentType | ||
layout?: ComponentType, | ||
props?: PageProps | ||
layout?: ComponentType | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters