Skip to content

Commit 3311488

Browse files
committed
fix: request constructor type
1 parent cd8002b commit 3311488

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adonis-typings/request.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
declare module '@ioc:Adonis/Core/Request' {
1515
import { UrlWithStringQuery } from 'url'
1616
import { MacroableConstructorContract } from 'macroable'
17+
import { EncryptionContract } from '@ioc:Adonis/Core/Encryption'
1718
import { IncomingHttpHeaders, IncomingMessage, ServerResponse } from 'http'
1819

1920
/**
@@ -90,6 +91,7 @@ declare module '@ioc:Adonis/Core/Request' {
9091
new (
9192
request: IncomingMessage,
9293
response: ServerResponse,
94+
encryption: EncryptionContract,
9395
config: RequestConfigContract,
9496
): RequestContract
9597
}

0 commit comments

Comments
 (0)