-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Describe the bug
This input code:
// @moduleResolution: node16
// @module: commonjs
import {} from 'solid-js' // types: 1.7.6results in
Cannot find module 'solid-js' or its corresponding type declarations.(2307)
You can also verify this here: https://arethetypeswrong.github.io/?p=solid-js%401.7.6
Your Example Website or App
Steps to Reproduce the Bug or Issue
Configure the tsconfig.json using the mentioned options
Expected behavior
Since at runtime I can require('solid-js'), I should be also able to load types in code configured to emit as CJS
Screenshots or Videos
No response
Platform
N/A
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels