File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1357,15 +1357,15 @@ describe('Transform', () => {
13571357 } as {
13581358 page : number
13591359 orderBy : 'asc' | 'desc'
1360- ordreByWithdefault ?: 'asc' | 'desc' | undefined
1360+ orderByWithdefault ?: 'asc' | 'desc' | undefined
13611361 }
13621362 } ) ,
13631363 ( c ) => {
1364- const { page, orderBy, ordreByWithdefault } = c . req . valid ( 'query' )
1364+ const { page, orderBy, orderByWithdefault } = c . req . valid ( 'query' )
13651365 expectTypeOf ( page ) . toEqualTypeOf < number > ( )
13661366 expectTypeOf ( orderBy ) . toEqualTypeOf < 'asc' | 'desc' > ( )
1367- expectTypeOf ( ordreByWithdefault ) . toEqualTypeOf < 'asc' | 'desc' | undefined > ( )
1368- return c . json ( { page, orderBy, ordreByWithdefault } )
1367+ expectTypeOf ( orderByWithdefault ) . toEqualTypeOf < 'asc' | 'desc' | undefined > ( )
1368+ return c . json ( { page, orderBy, orderByWithdefault } )
13691369 }
13701370 )
13711371
@@ -1376,13 +1376,13 @@ describe('Transform', () => {
13761376 query : {
13771377 page : string | string [ ]
13781378 orderBy : 'asc' | 'desc'
1379- ordreByWithdefault ?: 'asc' | 'desc' | undefined
1379+ orderByWithdefault ?: 'asc' | 'desc' | undefined
13801380 }
13811381 }
13821382 output : {
13831383 page : number
13841384 orderBy : 'asc' | 'desc'
1385- ordreByWithdefault : 'asc' | 'desc' | undefined
1385+ orderByWithdefault : 'asc' | 'desc' | undefined
13861386 }
13871387 outputFormat : 'json'
13881388 status : ContentfulStatusCode
You can’t perform that action at this time.
0 commit comments