aerogear / keycloak-connect-graphql

Add Keyloak Authentication and Authorization to your GraphQL server.
Apache License 2.0
157 stars 23 forks source link

Cannot find name 'Request' - When compiling to typescript #112

Closed BasarN closed 3 years ago

BasarN commented 3 years ago

Hi, I'm currently using

"typescript": "^4.0.3",
"express": "^4.17.1",
"keycloak-connect": "^11.0.2",
"keycloak-connect-graphql": "^0.6.3",

When compiling with tsc I get Error:

node_modules/keycloak-connect-graphql/dist/KeycloakContext.d.ts:4:41 - error TS2304: Cannot find name 'Request'.

4 export interface GrantedRequest extends Request {
wtrocki commented 3 years ago

Duplicate of: https://github.com/aerogear/keycloak-connect-graphql/issues/70