You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the instructions on README.md, I ran npm i --save mctext-react and put import McText from 'mctext-react'
VSCode/Ionic React gives me this error:
Could not find a declaration file for module 'mctext-react'. '{PROJECT ROOT}/node_modules/mctext-react/lib/McText.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/mctext-react` if it exists or add a new declaration (.d.ts) file containing `declare module 'mctext-react';`ts(7016)
The text was updated successfully, but these errors were encountered:
It's been a few months now and I realize that this is a TypeScript error since the package does not include a typings file. I am now going to make my own typings for this
Following the instructions on
README.md
, I rannpm i --save mctext-react
and putimport McText from 'mctext-react'
VSCode/Ionic React gives me this error:
The text was updated successfully, but these errors were encountered: