Skip to content

Commit e3a1566

Browse files
committed
fix type
1 parent c7be51d commit e3a1566

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/server/entry.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/server/entry.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ReactNode } from 'react';
22
import { Options as CreateEmotionCacheOptions } from '@emotion/cache';
33
import { AppProps } from './App';
4-
export type EntryKwArgs = Omit<AppProps, "emotionCache"> & {
4+
export type EntryKwArgs = Omit<AppProps, "emotionCache" | "children"> & {
55
routes: ReactNode;
66
createEmotionCacheOptions?: CreateEmotionCacheOptions;
77
};

dist/server/entry.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/server/entry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function createEmotionCache(
3333
return createCache({ key, prepend, ...otherOptions })
3434
}
3535

36-
export type EntryKwArgs = Omit<AppProps, "emotionCache"> & {
36+
export type EntryKwArgs = Omit<AppProps, "emotionCache" | "children"> & {
3737
routes: ReactNode
3838
createEmotionCacheOptions?: CreateEmotionCacheOptions
3939
}

0 commit comments

Comments
 (0)