We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a28fa9 commit 5b2a265Copy full SHA for 5b2a265
types/test.tsx
@@ -132,7 +132,12 @@ export function wrappedRender(
132
return <div>{children}</div>
133
}
134
135
- return pure.render(ui, {wrapper: Wrapper, ...options})
+ return pure.render(ui, {
136
+ wrapper: Wrapper,
137
+ // testing exactOptionalPropertyTypes comaptibility
138
+ hydrate: options?.hydrate,
139
+ ...options,
140
+ })
141
142
143
export function wrappedRenderB(
types/tsconfig.json
@@ -1,6 +1,7 @@
1
{
2
"extends": "../node_modules/kcd-scripts/shared-tsconfig.json",
3
"compilerOptions": {
4
+ "exactOptionalPropertyTypes": true,
5
"skipLibCheck": false
6
},
7
"include": ["."]
0 commit comments