@mtes-mct/monitor-ui 5.3.2 → 5.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mtes-mct/monitor-ui",
3
3
  "description": "Common React UI components and styles for Monitorfish and Monitorenv.",
4
- "version": "5.3.2",
4
+ "version": "5.3.3",
5
5
  "license": "AGPL-3.0",
6
6
  "engines": {
7
7
  "node": ">=18"
package/types.d.ts CHANGED
@@ -13,6 +13,7 @@ export type Option<OptionValue extends OptionValueType = string> = Omit<ItemData
13
13
  value: OptionValue;
14
14
  };
15
15
  export type OptionValueType = boolean | number | string | Record<string, any>;
16
+ export type Defined<T> = T extends undefined ? never : T;
16
17
  /**
17
18
  * Mark all the props type of an interface/type as `| undefined`
18
19
  *