Skip to content

ci: typecheck fails on refactor branch. #1750

Description

@Hweinstock

Problem

See #1748.

src/components/ui/data-table/DataTable.tsx(224,48): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/components/ui/data-table/DataTable.tsx(265,35): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.
src/components/ui/markdown/Markdown.tsx(150,9): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(151,20): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(154,35): error TS2532: Object is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(155,24): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.
src/components/ui/markdown/Markdown.tsx(184,23): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(195,9): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(198,12): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(206,9): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(209,12): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(217,9): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(220,12): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(228,9): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(233,14): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(242,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.
src/components/ui/markdown/Markdown.tsx(242,36): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(242,61): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(246,43): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(254,21): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(259,43): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.
src/components/ui/markdown/Markdown.tsx(267,9): error TS18048: 'line' is possibly 'undefined'.
src/components/ui/markdown/Markdown.tsx(274,59): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.
src/components/ui/tabs/Tabs.tsx(43,16): error TS2532: Object is possibly 'undefined'.
src/components/ui/tabs/Tabs.tsx(44,22): error TS2532: Object is possibly 'undefined'.
src/components/ui/tabs/Tabs.tsx(50,16): error TS2532: Object is possibly 'undefined'.
src/components/ui/tabs/Tabs.tsx(51,22): error TS2532: Object is possibly 'undefined'.
src/components/ui/tabs/Tabs.tsx(57,35): error TS2532: Object is possibly 'undefined'.
src/components/ui/tabs/Tabs.tsx(57,64): error TS2532: Object is possibly 'undefined'.

Definition of Done

  • ensure that bun run typecheck passes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions