unacy / PrimitiveType
Type Alias: PrimitiveType
ts
type PrimitiveType = number | string | boolean | bigint;Defined in: packages/core/src/types.ts:146
Primitive JavaScript types that can be used as unit base types.
Remarks
Covers the four scalar primitive types that unacy supports as direct base types for WithUnits<T, M>. Non-primitive base types (classes, enums, records, tuples) are handled via SupportedType.