Skip to content

Type errors if peer dependencies are not installed #721

@KaelWD

Description

@KaelWD

Environment

unstorage 1.17.3
node 22.20.0
pnpm 10.26.1 with autoInstallPeers: false

Reproduction

n/a

Describe the bug

Image

Additional context

Imports of optional dependencies should be prefaced with @ts-ignore so consumers don't have to use skipLibCheck and potentially poison their types with any.

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions