material-ui-password-field icon indicating copy to clipboard operation
material-ui-password-field copied to clipboard

Create a declaration file for the module (TypeScript)

Open DaniilZinoviev opened this issue 4 years ago • 1 comments

There is an error if the project uses Typescript: ### "Could not find a declaration file for module 'material-ui-password-field". Please, can you add this declaration file to "@types/material-ui-password-field" npm registry?

DaniilZinoviev avatar Mar 24 '21 10:03 DaniilZinoviev

We don't have type definitions yet. For now you can work around this by adding //@ts-ignore above the import. We won't add them to a @types/ package though, we can just add the declarations right in this package and publish them side-by-side, just like Material-UI does.

If you want to help us, feel free to open a PR with some type definitions :pray:

leMaik avatar Mar 24 '21 10:03 leMaik