Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ts(2503)

Your file extension is most likely `.ts` instead of `.tsx`.

Therefore TypeScript is interpreting <MainContext.Provider>
as cast and tries to find a type Provider in the namespace ctx.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
8+6 =