Closed adaptive-shield-matrix closed 3 years ago
As a temporary workaround, you can add the path to manually to the import map by adding the line
"global.d.ts": "https://cdn.esm.sh/@types/react@17.0.20/global.d.ts"
to the file ultra/examples/react18/importmap.json
.
I think @SebastianZimmer's suggestion would fix this. Any bare imports will need to be added to your importmap, or else you can use the fully qualified CDN url.
I will update the docs for this type of usage, apologies its not very clear atm.
Note: I was able to replicate this bug, it seems there is a discrepancy with the published types for React 18 (or lack thereof) -- I've updated the react imports in the examples to disable typechecking for now, and this should get around this issue.
identified error:
complete steps/log
since im new with deno -> this is a show stopper for me