fixed ts in prelum so our manager app would stop throwing these errors #1
Annotations
5 errors and 1 warning
type-check:
stories/molecules/inputs/NestedInputButton/NestedInputButton.stories.tsx#L29
Type '{ icon: { icon: "IconSearch"; className: string; }; ctaLabel: string; align: "right"; isClear: false; onClickHandler: () => void; buttonProps: { type: string; }; }' is not assignable to type 'Partial<INestedInputButtonProps>'.
|
type-check:
stories/organisms/AnimatedLabelTextArea/AnimatedLabelTextArea.stories.tsx#L14
Conversion of type '{ id: string; label: string; }' to type 'IAnimatedLabelTextAreaProps' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
type-check:
stories/organisms/AnimatedLabelTextArea/AnimatedLabelTextArea.stories.tsx#L21
Conversion of type '{ id: string; label: string; placeholder: string; }' to type 'IAnimatedLabelTextAreaProps' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
type-check:
stories/organisms/FormInputWithAddons/FormInputWithAddons.stories.tsx#L43
Type '{ icon: { icon: "IconPencil"; className: string; }; ctaLabel: string; align: "right"; onClickHandler: () => void; }' is not assignable to type 'INestedInputButtonProps'.
|
type-check
Process completed with exit code 2.
|
type-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|