File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ export const createDynamicHandler = (app: AnyElysia) => {
385385 _header
386386 )
387387 } else if ( validator . headers ?. Decode )
388- // @ts -expect-error
388+ // @ts -ignore
389389 context . headers = validator . headers . Decode ( context . headers )
390390
391391 if ( paramsValidator ?. Check ( context . params ) === false ) {
@@ -395,7 +395,7 @@ export const createDynamicHandler = (app: AnyElysia) => {
395395 context . params
396396 )
397397 } else if ( validator . params ?. Decode )
398- // @ts -expect-error
398+ // @ts -ignore
399399 context . params = validator . params . Decode ( context . params )
400400
401401 if ( validator . query ?. schema ) {
@@ -682,8 +682,8 @@ export const createDynamicErrorHandler = (app: AnyElysia) => {
682682 const errorContext = Object . assign ( context , { error, code : error . code } )
683683 errorContext . set = context . set
684684
685- // @ts -expect-error
686685 if (
686+ // @ts -expect-error
687687 typeof error ?. toResponse === 'function' &&
688688 ! ( error instanceof ValidationError ) &&
689689 ! ( error instanceof TransformDecodeError )
You can’t perform that action at this time.
0 commit comments