Definitelytyped types for system-node.cjs
tbrannam opened this issue · comments
- SystemJS Version:
- Which library are you using?
- system.js
- s.js
- system-node.cjs
- Which extras are you using?
- AMD extra
- Named Exports
- Named Register
- Transform
- Use Default
- Global
- Dynamic Import Maps
- Are you using any custom hooks?
Question
I am uncertain where to raise this issue, as npm package @types/systemjs
is not maintained here, but was hoping that @joeldenning would have visibility here.
When building for a Node target, and and importing system-node.cjs, and including @types/systemjs
as a dependency.
import SystemNode from 'systemjs/dist/system-node.cjs'
Then systemjs/dist/system-node.cjs
it not recognized as a typescript module and is untyped. Additionally the Typescript types that do exist do not include applyImportMap
which is only available in system-node.cjs
.
Are there examples that could be cited which demonstrate the usage of TS types with system-node.cjs
?