You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node_modules/@types/passport-facebook/index.d.ts:50:31 - error TS2689: Cannot extend an interface 'passport.Strategy'. Did you mean 'implements'?
50 export class Strategy extends passport.Strategy {
~~~~~~~~~~~~~~~~~
node_modules/@types/request/index.d.ts:66:15 - error TS2430: Interface 'DefaultUriUrlRequestApi<TRequest, TOptions, TUriUrlOptions>' incorrectly extends interface 'RequestAPI<TRequest, TOptions, TUriUrlOptions>'.
Types of property 'defaults' are incompatible.
Type '(options: TOptions) => DefaultUriUrlRequestApi<TRequest, TOptions, OptionalUriUrl>' is not assignable to type '{ (options: TOptions): RequestAPI<TRequest, TOptions, RequiredUriUrl>; (options: (UriOptions & TO...'.
Type 'DefaultUriUrlRequestApi<TRequest, TOptions, OptionalUriUrl>' is not assignable to type 'RequestAPI<TRequest, TOptions, RequiredUriUrl>'.
Types of property 'delete' are incompatible.
Type '{ (uri: string, options?: TOptions, callback?: request.RequestCallback): TRequest; (uri: string, ...' is not assignable to type '{ (uri: string, options?: TOptions, callback?: request.RequestCallback): TRequest; (uri: string, ...'. Two different types with this name exist, but they are unrelated.
Types of parameters 'options' and 'options' are incompatible.
Type '(UriOptions & TOptions) | (UrlOptions & TOptions)' is not assignable to type 'OptionalUriUrl & TOptions'.
Type 'UriOptions & TOptions' is not assignable to type 'OptionalUriUrl & TOptions'.
Type 'UriOptions & TOptions' is not assignable to type 'OptionalUriUrl'.
Types of property 'uri' are incompatible.
Type 'string | Url' is not assignable to type 'string'.
Type 'Url' is not assignable to type 'string'.
PS E:\iCrypto\oidc\trunk\demos\sample-oidc> npm start
Rendering Complete, saving .css file...
Wrote CSS to E:\iCrypto\oidc\trunk\demos\sample-oidc\dist\public\css\main.css
node_modules/@types/passport-facebook/index.d.ts:50:31 - error TS2689: Cannot extend an interface 'passport.Strategy'. Did you mean 'implements'?
50 export class Strategy extends passport.Strategy {
~~~~~~~~~~~~~~~~~
node_modules/@types/request/index.d.ts:66:15 - error TS2430: Interface 'DefaultUriUrlRequestApi<TRequest, TOptions, TUriUrlOptions>' incorrectly extends interface 'RequestAPI<TRequest, TOptions, TUriUrlOptions>'.
Types of property 'defaults' are incompatible.
Type '(options: TOptions) => DefaultUriUrlRequestApi<TRequest, TOptions, OptionalUriUrl>' is not assignable to type '{ (options: TOptions): RequestAPI<TRequest, TOptions, RequiredUriUrl>; (options: (UriOptions & TO...'.
Type 'DefaultUriUrlRequestApi<TRequest, TOptions, OptionalUriUrl>' is not assignable to type 'RequestAPI<TRequest, TOptions, RequiredUriUrl>'.
Types of property 'delete' are incompatible.
Type '{ (uri: string, options?: TOptions, callback?: request.RequestCallback): TRequest; (uri: string, ...' is not assignable to type '{ (uri: string, options?: TOptions, callback?: request.RequestCallback): TRequest; (uri: string, ...'. Two different types with this name exist, but they are unrelated.
Types of parameters 'options' and 'options' are incompatible.
Type '(UriOptions & TOptions) | (UrlOptions & TOptions)' is not assignable to type 'OptionalUriUrl & TOptions'.
Type 'UriOptions & TOptions' is not assignable to type 'OptionalUriUrl & TOptions'.
Type 'UriOptions & TOptions' is not assignable to type 'OptionalUriUrl'.
Types of property 'uri' are incompatible.
Type 'string | Url' is not assignable to type 'string'.
Type 'Url' is not assignable to type 'string'.
66 interface DefaultUriUrlRequestApi<TRequest extends Request,
~~~~~~~~~~~~~~~~~~~~~~~
src/controllers/user.ts:83:77 - error TS2559: Type '4' has no properties in common with type 'MinMaxOptions'.
83 req.assert("password", "Password must be at least 4 characters long").len(4);
~
src/controllers/user.ts:168:77 - error TS2559: Type '4' has no properties in common with type 'MinMaxOptions'.
168 req.assert("password", "Password must be at least 4 characters long").len(4);
~
src/controllers/user.ts:248:78 - error TS2559: Type '4' has no properties in common with type 'MinMaxOptions'.
248 req.assert("password", "Password must be at least 4 characters long.").len(4);
~
The text was updated successfully, but these errors were encountered: