diff --git a/keycloak.d.ts b/keycloak.d.ts index 567d7a7f..f6c0651f 100644 --- a/keycloak.d.ts +++ b/keycloak.d.ts @@ -280,7 +280,7 @@ declare namespace KeycloakConnect { * * @param {String} spec The protection spec (optional) */ - protect(spec: GaurdFn|string): express.RequestHandler + protect(spec?: GaurdFn|string): express.RequestHandler /** * Callback made upon successful authentication of a user.