Compiling with Angular sources in Ivy full compilation mode.
node_modules/@ctrl/ngx-rightclick/context-menu-injector.d.ts:14:5 - error TS2416: Property 'get' in type 'MenuInjector' is not assignable to the same property in base type 'Injector'.
Type '(token: any, notFoundValue?: T, flags?: InjectFlags) => MenuPackage | T' is not assignable to type '{ (token: ProviderToken, notFoundValue: undefined, options: InjectOptions & { optional?: false; }): T; (token: ProviderToken, notFoundValue: null, options: InjectOptions): T; (token: ProviderToken<...>, notFoundValue?: T, options?: InjectOptions | InjectFlags): T; (token: ProviderToken<...>, notFou...'.
Types of parameters 'flags' and 'options' are incompatible.
Type 'InjectOptions & { optional?: false; }' is not assignable to type 'InjectFlags'.
14 get(token: any, notFoundValue?: T, flags?: InjectFlags): T | MenuPackage;
Angular CLI: 15.1.1 Node: 18.13.0 Package Manager: npm 8.15.0 OS: win32 x64
Angular: 15.1.0 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... platform-server, router
Package Version
@angular-devkit/architect 0.1501.1 @angular-devkit/build-angular 15.1.1 @angular-devkit/core 15.1.1 @angular-devkit/schematics 15.1.1 @angular/cdk 14.2.7 @angular/cli 15.1.1 @schematics/angular 15.1.1 ng-packagr 15.1.1 rxjs 7.8.0 typescript 4.9.4
Compiling with Angular sources in Ivy full compilation mode. node_modules/@ctrl/ngx-rightclick/context-menu-injector.d.ts:14:5 - error TS2416: Property 'get' in type 'MenuInjector' is not assignable to the same property in base type 'Injector'. Type '(token: any, notFoundValue?: T, flags?: InjectFlags) => MenuPackage | T' is not assignable to type '{ (token: ProviderToken, notFoundValue: undefined, options: InjectOptions & { optional?: false; }): T; (token: ProviderToken, notFoundValue: null, options: InjectOptions): T; (token: ProviderToken<...>, notFoundValue?: T, options?: InjectOptions | InjectFlags): T; (token: ProviderToken<...>, notFou...'.
Types of parameters 'flags' and 'options' are incompatible.
Type 'InjectOptions & { optional?: false; }' is not assignable to type 'InjectFlags'.
14 get(token: any, notFoundValue?: T, flags?: InjectFlags): T | MenuPackage;