Skip to content

Commit

Permalink
fix: strict typing
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiashader committed Nov 19, 2024
1 parent 13ecac9 commit ff3c7c5
Show file tree
Hide file tree
Showing 6 changed files with 201 additions and 145 deletions.
9 changes: 4 additions & 5 deletions packages/core/component-doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3978,13 +3978,12 @@
"text": "2.1.0"
}
],
"default": "undefined",
"values": [
{
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand All @@ -4010,7 +4009,7 @@
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand All @@ -4036,7 +4035,7 @@
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand Down Expand Up @@ -4089,7 +4088,7 @@
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand Down
12 changes: 6 additions & 6 deletions packages/core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -632,17 +632,17 @@ export namespace Components {
* Format of time string See {@link "https://moment.github.io/luxon/#/formatting?id=table-of-tokens"} for all available tokens.
* @since 2.1.0
*/
"locale": string;
"locale"?: string;
/**
* The latest date that can be selected by the date picker. If not set there will be no restriction.
* @since 1.1.0
*/
"maxDate": string;
"maxDate"?: string;
/**
* The earliest date that can be selected by the date picker. If not set there will be no restriction.
* @since 1.1.0
*/
"minDate": string;
"minDate"?: string;
/**
* If true a date-range can be selected (from/to).
*/
Expand All @@ -653,7 +653,7 @@ export namespace Components {
* @since 1.1.0
* @deprecated since 2.1.0. Use `i18nDone`
*/
"textSelectDate": string;
"textSelectDate"?: string;
/**
* The selected end date. If the the date-picker-rework is not in range mode this property has no impact. Format has to match the `format` property.
* @since 1.1.0
Expand All @@ -675,7 +675,7 @@ export namespace Components {
* set styles
*/
"individual": boolean;
"standaloneAppearance": any;
"standaloneAppearance"?: boolean;
}
interface IxDatetimePicker {
/**
Expand Down Expand Up @@ -4793,7 +4793,7 @@ declare namespace LocalJSX {
* set styles
*/
"individual"?: boolean;
"standaloneAppearance"?: any;
"standaloneAppearance"?: boolean;
}
interface IxDatetimePicker {
/**
Expand Down
Loading

0 comments on commit ff3c7c5

Please sign in to comment.