discord-message-components
discord-message-components copied to clipboard
Typescript definitions are not exported
Tried installing react package, but seems that typescript are not present in dist. Same with core.
Can these be included?
Yeah, Same problem with me.
TS7016: Could not find a declaration file for module '@discord-message-components/react'. '/Users/gaurish/Desktop/Coding/Cofo-Web/node_modules/@discord-message-components/react/dist/react.umd.js' implicitly has an 'any' type.
This should be fixed
Hey, I have the same problem.
Could not find a declaration file for module '@discord-message-components/react'.
'/home/nonso/Documents/Code/Projects/Summarium/summarium-website/
node_modules/@discord-message-components/react/dist/react.umd.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/discord-message-components__react` if it exists or add
a new declaration (.d.ts) file containing `declare module '@discord-message-components/react';`ts(7016)
I'm using yarn so I tried yarn add @types/discord-message-components__react --dev
and I got
error An unexpected error occurred:
"https://registry.yarnpkg.com/@types%2fdiscord-message-components__react: Not found".
info If you think this is a bug, please open a bug report with the information provided in
"/home/nonso/Documents/Code/Projects/Summarium/summarium-website/yarn-error.log".