Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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