Core
Decorator to register optional property types for runtime type inference.
Enables type inference directly from class instances.
For type aliases, pass the resolved runtime class, not the alias itself.
The ESLint rule `optional-decorator-type-consistency` enforces this automatically.
Core
Decorator to register optional property types for runtime type inference.
Enables type inference directly from class instances.
For type aliases, pass the resolved runtime class, not the alias itself.
The ESLint rule `optional-decorator-type-consistency` enforces this automatically.