File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " next-approuter-context" ,
3
- "version" : " 0.0.8 " ,
3
+ "version" : " 0.0.9 " ,
4
4
"main" : " ./dist/cjs/index.js" ,
5
5
"types" : " ./dist/cjs/index.d.ts" ,
6
6
"exports" : {
16
16
"lint:fix" : " eslint --fix ./src"
17
17
},
18
18
"devDependencies" : {
19
- "@types/node" : " 20.9.4 " ,
19
+ "@types/node" : " 20.10.0 " ,
20
20
"@types/react" : " ^18.2.38" ,
21
21
"@typescript-eslint/eslint-plugin" : " ^6.12.0" ,
22
22
"@typescript-eslint/parser" : " ^6.12.0" ,
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ export const createMixContext = <T>(name: string) => {
23
23
getComponentType ( ) === "Server"
24
24
? createMixServerContext < T > ( name )
25
25
: { name } ;
26
- return context as typeof context & { type : T } ;
26
+ return context as ReturnType < typeof createMixServerContext < T > > & { type : T } ;
27
27
} ;
Original file line number Diff line number Diff line change 163
163
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
164
164
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==
165
165
166
- " @types/node@20.9.4 " :
167
- version "20.9.4 "
168
- resolved "https://registry.yarnpkg.com/@types/node/-/node-20.9.4 .tgz#cc8f970e869c26834bdb7ed480b30ede622d74c7 "
169
- integrity sha512-wmyg8HUhcn6ACjsn8oKYjkN/zUzQeNtMy44weTJSM6p4MMzEOuKbA3OjJ267uPCOW7Xex9dyrNTful8XTQYoDA ==
166
+ " @types/node@20.10.0 " :
167
+ version "20.10.0 "
168
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.0 .tgz#16ddf9c0a72b832ec4fcce35b8249cf149214617 "
169
+ integrity sha512-D0WfRmU9TQ8I9PFx9Yc+EBHw+vSpIub4IDvQivcp26PtPrdMGAq5SDcpXEo/epqa/DXotVpekHiLNTg3iaKXBQ ==
170
170
dependencies :
171
171
undici-types "~5.26.4"
172
172
You can’t perform that action at this time.
0 commit comments