Skip to content

No .d.ts declaration file found for extensions #73

@bostrom

Description

@bostrom

Hello, I get the following error when trying to use components from the extensions subpackage.

import { MjmlHtml } from '@faire/mjml-react/extensions';

results in

Could not find a declaration file for module '@faire/mjml-react/extensions'. 
'node_modules/@faire/mjml-react/extensions.js' implicitly has an 'any' type.
If the '@faire/mjml-react' package actually exposes this module, 
try adding a new declaration (.d.ts) file containing 
`declare module '@faire/mjml-react/extensions';`

Adding the said declaration file resolves the issue, but this should probably be fixed here instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions