Skip to content

TypeError: FieldPacket type can't be used to access mysql.Types #3279

Open
@spiros132

Description

@spiros132

When trying to access the Type of a certain field through the FieldPacket interface I get the following error in vs code:
image

I've tried using the type field and the column type field, but both are returning an error in the IDE.
If I try to run the code with "npm run dev" it doesn't have any errors and returns the type correctly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions