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
refactor: replace as any type assertions with specific types across packages
Eliminate 18 problematic or improvable type assertions:
- Replace `as any` with `Record<string, unknown>`, specific interfaces, or type guards
- Add `RawContemberFieldDef` interface for SchemaRegistry normalization
- Use explicit generics on `analyzeChildren().getAll<T>()` instead of casting results
- Make `BlockDefinition.render` ref parameter nullable instead of casting undefined
- Return real collector proxy from `collectorProxy.getById()` instead of empty `as any`
- Introduce `CachedRelationHandle`/`CachedFieldHandle` interfaces in EntityHandle
- Use `as Partial<SlateElement>` for editor list transforms instead of `as any`
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments