Skip to content

Could not find a declaration file for module 'isomorphic-style-loader/withStyles' #178

Open
@jsphkm

Description

@jsphkm

Import command leads to this message:

import withStyles from 'isomorphic-style-loader/withStyles';
Could not find a declaration file for module 'isomorphic-style-loader/withStyles'. '/Users/joseph/Code/invoicemanager/node_modules/isomorphic-style-loader/withStyles.js' implicitly has an 'any' type.
  Try `npm install @types/isomorphic-style-loader` if it exists or add a new declaration (.d.ts) file containing `declare module 'isomorphic-style-loader/withStyles';`ts(7016)
"isomorphic-style-loader": "^5.1.0"

@types/isomorphic-style-loader is not in the npm registry.

The import appears to work fine, but I want to know what I should do about this message.

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