Skip to content
This repository was archived by the owner on Jul 13, 2024. It is now read-only.
This repository was archived by the owner on Jul 13, 2024. It is now read-only.

TypeScript 3.5 errors #297

Closed
Closed
@haizz

Description

@haizz

TypeScript 3.5 had a breaking change: microsoft/TypeScript#30637
Because of this there are errors:

.../node_modules/@gitgraph/core/src/graph-rows/regular.ts

Error:(44, 3) TS2322: Type 'unknown[]' is not assignable to type 'T[]'.
  Type 'unknown' is not assignable to type 'T'.
    'unknown' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '{}'.
.../node_modules/@gitgraph/core/src/graph-rows/regular.ts

Error:(258, 40) TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 BugUnexpected behavior to be fixed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions