diff --git a/types/bun/package.json b/types/bun/package.json index aa50e8d5b9fcbc..b856a69dfa8606 100644 --- a/types/bun/package.json +++ b/types/bun/package.json @@ -6,7 +6,7 @@ "https://bun.sh" ], "dependencies": { - "bun-types": "1.2.7" + "bun-types": "1.2.9" }, "devDependencies": { "@types/bun": "workspace:." diff --git a/types/react-dom/static.d.ts b/types/react-dom/static.d.ts index aae4a4784cf80c..ef52180c8f9c77 100644 --- a/types/react-dom/static.d.ts +++ b/types/react-dom/static.d.ts @@ -27,10 +27,16 @@ declare global { import { ReactNode } from "react"; import { ErrorInfo } from "./client"; +export type BootstrapScriptDescriptor = { + src: string; + integrity?: string | undefined; + crossOrigin?: string | undefined; +}; + export interface PrerenderOptions { bootstrapScriptContent?: string; - bootstrapScripts?: string[]; - bootstrapModules?: string[]; + bootstrapScripts?: Array; + bootstrapModules?: Array; identifierPrefix?: string; namespaceURI?: string; onError?: (error: unknown, errorInfo: ErrorInfo) => string | void;