@arolariu/website / types / ScreenValues
Type Alias: ScreenValues
ScreenValues =
Omit<globalThis.Screen[ScreenKeys],"orientation">
Defined in: types/index.ts:471
Extracts screen property value types, excluding the orientation property.
Remarks
Exclusion Rationale: The orientation property is omitted because:
- It returns a
ScreenOrientationobject (complex type) - We track orientation separately through window resize events
- Reduces serialization complexity for telemetry data
Type Safety: Ensures values are serializable primitives (numbers, strings).