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[]; + } +}