Skip to content

Type issue with 5.0 #72

@lity

Description

@lity

When I import fastify-socket.io 5.0 in my typescript project, like this:

...
import FastifyIO from 'fastify-socket.io'
...

type error reported:

"Cannot find module 'fastify-socket.io' or its corresponding type declarations."

I have to use // @ts-ignore to suppress the error, like this:

...
// @ts-ignore
import FastifyIO from 'fastify-socket.io'
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions