Skip to content

Commit 35027c3

Browse files
committed
update types
1 parent dcaf200 commit 35027c3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/react-router/lib/dom/ssr/entry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export interface EntryContext extends FrameworkContextObject {
4242
}
4343

4444
export interface FutureConfig {
45+
unstable_subResourceIntegrity: boolean;
4546
unstable_middleware: boolean;
4647
}
4748

packages/react-router/lib/dom/ssr/routes-test-stub.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export function createRoutesStub(
100100
if (routerRef.current == null) {
101101
remixContextRef.current = {
102102
future: {
103+
unstable_subResourceIntegrity: future?.unstable_subResourceIntegrity === true,
103104
unstable_middleware: future?.unstable_middleware === true,
104105
},
105106
manifest: {

0 commit comments

Comments
 (0)