Closed
Description
We are running into type errors with packages from this repository in ember-math-helpers:
../node_modules/.pnpm/@glimmer+manager@0.84.2/node_modules/@glimmer/manager/dist/types/lib/public/modifier.d.ts:45:5 - error TS2416: Property 'getTag' in type 'CustomModifierManager<O, ModifierInstance>' is not assignable to the same property in base type 'InternalModifierManager<CustomModifierState<ModifierInstance>, object>'.
Type '({ tag }: CustomModifierState<ModifierInstance>) => UpdatableTag' is not assignable to type '(modifier: CustomModifierState<ModifierInstance>) => UpdatableTag | null'.
Type 'MonomorphicTagBase<MonomorphicTagTypes.Updatable>' is missing the following properties from type 'MonomorphicTagBase<MonomorphicTagTypes.Updatable>': [TYPE], [COMPUTE]
45 getTag({ tag }: CustomModifierState<ModifierInstance>): UpdatableTag;
~~~~~~
../node_modules/.pnpm/@glimmer+validator@0.44.0/node_modules/@glimmer/validator/dist/types/lib/validators.d.ts:78:45 - error TS2422: A class can only implement an object type or intersection of object types with statically known members.
78 declare class MonomorphicTagImpl implements MonomorphicTag {
~~~~~~~~~~~~~~
See RobbieTheWagner/ember-math-helpers#1423 and the failing CI pipeline for reproduction.
Relevant dependencies:
typescript
: 5.4.3@glimmer/manager
: 0.84.2@glimmer/validator
: 0.84.2
Metadata
Metadata
Assignees
Labels
No labels