Types seems to not be included
See original GitHub issuev3.0.0
Description
In the package.json, The types are listed as dist/types/index.d.ts
. In the dist/, there is no types/
folder in the dist for me.
TS says it cannot find the types for the library.
Reproduction
-
yarn add use-shopping-cart
-
Try to use TS
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (13 by maintainers)
Top Results From Across the Web
Personality disorders - Symptoms and causes - Mayo Clinic
A personality disorder is a mental disorder involving a rigid and unhealthy pattern of thinking, functioning and behaving.
Read more >Getting "type or namespace name could not be found" but ...
When building the solution I was getting the same error (type or namespace ' ' could not be found). Below it I saw...
Read more >Outlook blocked access to the following potentially unsafe ...
This article describes how to open a blocked attachment, and what types of attachments ... the attachment is not included in the forwarded...
Read more >Infant-parent attachment: Definition, types, antecedents ... - NCBI
Attachment is one specific and circumscribed aspect of the relationship between a child and caregiver that is involved with making the child safe,...
Read more >Types of Learning Disabilities
Learning disabilities should not be confused with learning problems which are ... perfectly “normal” and seems to be a very bright and intelligent...
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
Running into the same issue, auto complete works when adding /react but does not compile. And without /react it does not provide autocomplete and the following error:
Module '"use-shopping-cart"' has no exported member 'CartProvider'.ts(2305)
on version 3.0.3
@adamwdennis instant merged