mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
chore(setup): add global inertia type declarations
This commit is contained in:
parent
7ec31e3463
commit
612219efa9
1 changed files with 10 additions and 0 deletions
10
resources/js/global.d.ts
vendored
Normal file
10
resources/js/global.d.ts
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
declare module "@inertiajs/core" {
|
||||
export interface InertiaConfig {
|
||||
sharedPageProps: {
|
||||
};
|
||||
// flashDataType: {
|
||||
// toast?: { type: "success" | "error"; message: string };
|
||||
// };
|
||||
errorValueType: string[];
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue