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
feat(types): add LooseToStrict and Brand utility types with JSDocs
- Introduced `LooseToStrict<T>` to filter out broad string types (e.g., `string`) and retain only strict string literals or narrower unions.
- Added `Brand<T, Brand extends string>` to create nominally typed aliases for primitive types using unique symbols.
- Provided detailed JSDocs with examples for both types to improve developer understanding and usage.
- Exported both types from the package entrypoint for public use.
0 commit comments