Skip to content

Remove ignoreDeprecations workaround once tsup supports TypeScript 6 #57

@rohal12

Description

@rohal12

Context

TypeScript 6.0 deprecated the baseUrl compiler option (TS 6 migration). tsup's DTS build internally sets baseUrl, causing build failures:

error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0.

Current workaround

We added "ignoreDeprecations": "6.0" to tsconfig.json to silence this.

Upstream tracking

Action

Once tsup ships a fix (removing its internal baseUrl usage), remove "ignoreDeprecations": "6.0" from tsconfig.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions