fix(components): 🩹 replace defaultProps by default parameters #177
Annotations
10 errors and 1 warning
build (14.x, ubuntu-latest)
Type 'Theme<SeedToken, MapToken>' is not assignable to type 'Theme<any, any>'.
|
build (14.x, ubuntu-latest)
Type '"ghost"' is not assignable to type '"default" | "link" | "text" | "dashed" | "primary" | undefined'.
|
build (14.x, ubuntu-latest)
Type '"ghost"' is not assignable to type '"default" | "link" | "text" | "dashed" | "primary" | undefined'.
|
build (14.x, ubuntu-latest)
Type '"ghost"' is not assignable to type '"default" | "link" | "text" | "dashed" | "primary" | undefined'.
|
build (14.x, ubuntu-latest)
Type '"ghost"' is not assignable to type '"default" | "link" | "text" | "dashed" | "primary" | undefined'.
|
build (14.x, ubuntu-latest)
Type 'ForwardRefExoticComponent<Pick<Partial<Omit<TimePickerProps, "ref"> & RefAttributes<any>>, "value" | "children" | "type" | "key" | "id" | "form" | ... 352 more ... | "addon"> & RefAttributes<...>>' is not assignable to type 'ComposedTimePicker'.
|
build (14.x, ubuntu-latest)
Type 'Theme<SeedToken, MapToken>' is not assignable to type 'Theme<any, any>'.
|
build (14.x, ubuntu-latest)
Type '"ghost"' is not assignable to type '"default" | "link" | "text" | "dashed" | "primary" | undefined'.
|
build (14.x, ubuntu-latest)
Type '"ghost"' is not assignable to type '"default" | "link" | "text" | "dashed" | "primary" | undefined'.
|
build (14.x, ubuntu-latest)
Type '"ghost"' is not assignable to type '"default" | "link" | "text" | "dashed" | "primary" | undefined'.
|
build (14.x, ubuntu-latest):
packages/components/src/__builtins__/portal.tsx#L24
[eslint] reported by reviewdog 🐶
Forbidden non-null assertion.
Raw Output:
{"ruleId":"@typescript-eslint/no-non-null-assertion","severity":1,"message":"Forbidden non-null assertion.","line":24,"column":17,"nodeType":"TSNonNullExpression","messageId":"noNonNull","endLine":24,"endColumn":26}
|