oushu1jinliujie1 opened a new issue #13885:
URL: https://github.com/apache/superset/issues/13885
```code
ERROR in
/superset-frontend/src/components/FilterableTable/FilterableTable.tsx
ERROR in
/superset-frontend/src/components/FilterableTable/FilterableTable.tsx(393,19):
TS2362: The left-hand side of an arithmetic operation must be of type 'any',
'number', 'bigint' or an enum type.
ERROR in
/superset-frontend/src/components/FilterableTable/FilterableTable.tsx
ERROR in
/superset-frontend/src/components/FilterableTable/FilterableTable.tsx(425,17):
TS2362: The left-hand side of an arithmetic operation must be of type 'any',
'number', 'bigint' or an enum type.
ERROR in /superset-frontend/src/components/Select/styles.tsx
ERROR in /superset-frontend/src/components/Select/styles.tsx(116,17):
TS2314: Generic type 'Styles<OptionType, IsMulti>' requires 2 type
argument(s).
ERROR in /superset-frontend/src/components/Select/styles.tsx
ERROR in /superset-frontend/src/components/Select/styles.tsx(301,3):
TS2314: Generic type 'SelectComponentsConfig' requires 2 type argument(s).
ERROR in /superset-frontend/src/components/Select/styles.tsx
ERROR in /superset-frontend/src/components/Select/styles.tsx(326,23):
TS7031: Binding element 'children' implicitly has an 'any' type.
ERROR in /superset-frontend/src/components/Select/styles.tsx
ERROR in /superset-frontend/src/components/Select/styles.tsx(347,14):
TS7031: Binding element 'children' implicitly has an 'any' type.
ERROR in /superset-frontend/src/components/Select/styles.tsx
ERROR in /superset-frontend/src/components/Select/styles.tsx(347,24):
TS7031: Binding element 'innerProps' implicitly has an 'any' type.
ERROR in /superset-frontend/src/components/Select/styles.tsx
ERROR in /superset-frontend/src/components/Select/styles.tsx(347,36):
TS7031: Binding element 'data' implicitly has an 'any' type.
ERROR in /superset-frontend/src/components/Select/styles.tsx
ERROR in /superset-frontend/src/components/Select/styles.tsx(361,19):
TS7006: Parameter 'props' implicitly has an 'any' type.
ERROR in /superset-frontend/src/components/Select/styles.tsx
ERROR in /superset-frontend/src/components/Select/styles.tsx(366,22):
TS7006: Parameter 'props' implicitly has an 'any' type.
ERROR in /superset-frontend/src/components/Select/SupersetStyledSelect.tsx
ERROR in
/superset-frontend/src/components/Select/SupersetStyledSelect.tsx(70,5):
TS2314: Generic type 'AsyncCreatable<OptionType, IsMulti>' requires 2 type
argument(s).
ERROR in /superset-frontend/src/components/Select/SupersetStyledSelect.tsx
ERROR in
/superset-frontend/src/components/Select/SupersetStyledSelect.tsx(88,33):
TS2314: Generic type 'ValueType' requires 2 type argument(s).
ERROR in /superset-frontend/src/components/Select/SupersetStyledSelect.tsx
ERROR in
/superset-frontend/src/components/Select/SupersetStyledSelect.tsx(109,21):
TS2314: Generic type 'SelectComponents<OptionType, IsMulti>' requires 2 type
argument(s).
ERROR in /superset-frontend/src/components/Select/SupersetStyledSelect.tsx
ERROR in
/superset-frontend/src/components/Select/SupersetStyledSelect.tsx(116,36):
TS2314: Generic type 'SelectComponentsConfig' requires 2 type argument(s).
ERROR in /superset-frontend/src/components/Select/SupersetStyledSelect.tsx
ERROR in
/superset-frontend/src/components/Select/SupersetStyledSelect.tsx(175,22):
TS2314: Generic type 'FormatOptionLabelMeta<OptionType, IsMulti>' requires 2
type argument(s).
ERROR in /superset-frontend/src/components/Select/SupersetStyledSelect.tsx
ERROR in
/superset-frontend/src/components/Select/SupersetStyledSelect.tsx(214,32):
TS2345: Argument of type 'OptionType[]' is not assignable to parameter of
type 'ValueType<OptionType, false>'.
ERROR in /superset-frontend/src/components/Select/SupersetStyledSelect.tsx
ERROR in
/superset-frontend/src/components/Select/SupersetStyledSelect.tsx(278,8):
TS2322: Type '{ 'aria-label'?: string | undefined; 'aria-labelledby'?:
string | undefined; autoFocus?: boolean | undefined; backspaceRemovesValue?:
boolean | undefined; blurInputOnSelect?: boolean | undefined; ... 67 more ...;
components: any; }' is not assignable to type 'IntrinsicAttributes &
((Props<OptionType, false> & { windowThreshold?: number | undefined; } & {
windowListRef?: RefObject<FixedSizeList> | undefined; optionHeight?: number |
undefined; } & { ...; } & Props<...> & SortableContainerProps) |
LibraryManagedAttributes<...>)'.
Types of property 'isMulti' are incompatible.
Type 'boolean' is not assignable to type 'false | undefined'.
ERROR in /superset-frontend/src/components/Select/utils.ts
ERROR in /superset-frontend/src/components/Select/utils.ts(35,10):
TS2314: Generic type 'ValueType' requires 2 type argument(s).
ERROR in /superset-frontend/src/components/Select/WindowedSelect/index.tsx
ERROR in
/superset-frontend/src/components/Select/WindowedSelect/index.tsx(28,45):
TS2345: Argument of type 'typeof Async' is not assignable to parameter of
type 'ComponentType<Props<any, false>>'.
Type 'typeof Async' is not assignable to type 'ComponentClass<Props<any,
false>, any>'.
Types of property 'defaultProps' are incompatible.
Type 'Props<any, boolean>' is not assignable to type
'Partial<Props<any, false>> | undefined'.
Type 'Props<any, boolean>' is not assignable to type
'Partial<Props<any, false>>'.
Types of property 'isMulti' are incompatible.
Type 'boolean | undefined' is not assignable to type 'false |
undefined'.
Type 'true' is not assignable to type 'false | undefined'.
ERROR in /superset-frontend/src/components/Select/WindowedSelect/index.tsx
ERROR in
/superset-frontend/src/components/Select/WindowedSelect/index.tsx(29,49):
TS2345: Argument of type 'typeof Creatable' is not assignable to parameter
of type 'ComponentType<Props<any, false>>'.
Type 'typeof Creatable' is not assignable to type
'ComponentClass<Props<any, false>, any>'.
Types of property 'defaultProps' are incompatible.
Type 'Props<any, boolean>' is not assignable to type
'Partial<Props<any, false>> | undefined'.
Type 'Props<any, boolean>' is not assignable to type
'Partial<Props<any, false>>'.
Types of property 'isMulti' are incompatible.
Type 'boolean | undefined' is not assignable to type 'false |
undefined'.
ERROR in /superset-frontend/src/components/Select/WindowedSelect/index.tsx
ERROR in
/superset-frontend/src/components/Select/WindowedSelect/index.tsx(30,54):
TS2345: Argument of type 'typeof AsyncCreatable' is not assignable to
parameter of type 'ComponentType<Props<any, false>>'.
Type 'typeof AsyncCreatable' is not assignable to type
'ComponentClass<Props<any, false>, any>'.
Types of property 'defaultProps' are incompatible.
Type 'Props<any, boolean>' is not assignable to type
'Partial<Props<any, false>> | undefined'.
Type 'Props<any, boolean>' is not assignable to type
'Partial<Props<any, false>>'.
Types of property 'isMulti' are incompatible.
Type 'boolean | undefined' is not assignable to type 'false |
undefined'.
ERROR in /superset-frontend/src/components/Select/WindowedSelect/windowed.tsx
ERROR in
/superset-frontend/src/components/Select/WindowedSelect/windowed.tsx(45,4):
TS2314: Generic type 'MenuListComponentProps' requires 2 type argument(s).
ERROR in
/superset-frontend/src/components/Select/WindowedSelect/WindowedMenuList.tsx
ERROR in
/superset-frontend/src/components/Select/WindowedSelect/WindowedMenuList.tsx(59,15):
TS2314: Generic type 'OptionProps' requires 2 type argument(s).
ERROR in
/superset-frontend/src/components/Select/WindowedSelect/WindowedMenuList.tsx
ERROR in
/superset-frontend/src/components/Select/WindowedSelect/WindowedMenuList.tsx(64,5):
TS2314: Generic type 'MenuListComponentProps' requires 2 type argument(s).
ERROR in /superset-frontend/src/components/SupersetResourceSelect.tsx
ERROR in /superset-frontend/src/components/SupersetResourceSelect.tsx(108,7):
TS2322: Type 'boolean | undefined' is not assignable to type 'false |
undefined'.
Type 'true' is not assignable to type 'false | undefined'.
ERROR in /superset-frontend/src/explore/components/PropertiesModal.tsx
ERROR in
/superset-frontend/src/explore/components/PropertiesModal.tsx(262,17):
TS2322: Type 'true' is not assignable to type 'false | undefined'.
ERROR in /superset-frontend/src/utils/copy.ts
ERROR in /superset-frontend/src/utils/copy.ts(53,5):
TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in
your type argument to 'Promise'?
ERROR in /superset-frontend/src/views/App.tsx
ERROR in /superset-frontend/src/views/App.tsx(152,16):
TS2322: Type '{}' is not assignable to type 'never'.
ERROR in /superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx
ERROR in
/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx(1080,17):
TS2322: Type 'true' is not assignable to type 'false | undefined'.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]