Skip to content

Add support for Typescript types #9

Description

@sagarsys

Currently, if I try to use this module with the fastify-cli Typescript template, I get the following error:

TS7016: Could not find a declaration file for module 'fastify-prettier'. '/node_modules/fastify-prettier/src/index.js' implicitly has an 'any' type.   Try npm i --save-dev @types/fastify-prettier if it exists or add a new declaration (.d.ts) file containing declare module 'fastify-prettier';

It would be good to have the official types for this module.

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