Replace inline type with ConstructorWithTypeId
Replace all occurrences of the inline type
`(new (...args: any[]) => TObject) & { typeId: URL }` with the
existing `ConstructorWithTypeId<TObject>` type alias throughout
the federation package.
This change:
- Reduces code duplication
- Removes 41 `// deno-lint-ignore no-explicit-any` comments
- Improves type consistency and maintainability
Fixes https://github.com/fedify-dev/fedify/issues/447
Co-Authored-By:
Claude <noreply@anthropic.com>
Loading
Please register or sign in to comment