chore(setup): add global inertia type declarations

This commit is contained in:
peaklabs-dev 2026-03-04 17:11:12 +01:00
parent 7ec31e3463
commit 612219efa9
No known key found for this signature in database

10
resources/js/global.d.ts vendored Normal file
View file

@ -0,0 +1,10 @@
declare module "@inertiajs/core" {
export interface InertiaConfig {
sharedPageProps: {
};
// flashDataType: {
// toast?: { type: "success" | "error"; message: string };
// };
errorValueType: string[];
}
}