From 612219efa93b42b8265bdd8b15b34abfaedd2566 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Wed, 4 Mar 2026 17:11:12 +0100 Subject: [PATCH] chore(setup): add global inertia type declarations --- resources/js/global.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 resources/js/global.d.ts diff --git a/resources/js/global.d.ts b/resources/js/global.d.ts new file mode 100644 index 000000000..52b56f0b4 --- /dev/null +++ b/resources/js/global.d.ts @@ -0,0 +1,10 @@ +declare module "@inertiajs/core" { + export interface InertiaConfig { + sharedPageProps: { + }; + // flashDataType: { + // toast?: { type: "success" | "error"; message: string }; + // }; + errorValueType: string[]; + } +}