rebass-preset is missing typescript definitions
See original GitHub issueWhen trying to use rebass with the rebass preset in typescript following issue occurs.
Could not find a declaration file for module '@rebass/preset'. '/Users/marco/code/my-project/node_modules/@rebass/preset/dist/index.js' implicitly has an 'any' type.
Try `npm install @types/rebass__preset` if it exists or add a new declaration (.d.ts) file containing `declare module '@rebass/preset';`ts(7016)
The @types/rebass__preset
package is not available.
Would be great if this would be supported.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:16
- Comments:7 (1 by maintainers)
Top Results From Across the Web
rebass-preset is missing typescript definitions - - Bountysource
When trying to use rebass with the rebass preset in typescript following issue occurs. Could not find a declaration file for module '@rebass/preset'....
Read more >onno - npm Package Health Analysis | Snyk
@rebass/preset ... Looks like onno is missing a security policy. ... Written in TypeScript with comprehensive type definitions and interfaces ...
Read more >rebassjs/rebass Issues - Giters
Pass props to rebass Button component with typescript is not working. Updated 8 months ago 3 ... rebass-preset is missing typescript definitions.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
This library is written in JavaScript. You’ll need to handle TypeScript in the definitely typed repo