@mirohq/design-system-types
Advanced tools
Comparing version 0.4.1 to 0.5.0
# @mirohq-internal/design-system-types | ||
## 0.5.0 | ||
### Minor Changes | ||
- [#170](https://github.com/miroapp-dev/design-system/pull/170) [`8c6c5c23`](https://github.com/miroapp-dev/design-system/commit/8c6c5c23e7f57617e610eeaa77d708cb8c029a5e) Thanks [@skarensmoll](https://github.com/skarensmoll)! - Included ExtractValidKeys type | ||
## 0.4.1 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@mirohq/design-system-types", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "Miro", |
@@ -6,1 +6,8 @@ export type Nullable<T> = T | null | undefined | ||
export type Booleanish = boolean | `${boolean}` | ||
/** | ||
* Extracts valid key properties from object. | ||
*/ | ||
export type ExtractValidKeys<T> = T extends string | number | boolean | symbol | ||
? T | ||
: never |
3138
43