I'm getting a build error when trying to import any of the libraries
node_modules\typeconv\dist\index.js:1
export * from "./types.js";
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
main.ts
import {
getTypeScriptReader,
getOpenApiWriter,
makeConverter,
getTypeScriptWriter,
getOpenApiReader,
} from "typeconv"
tsconfig.json
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"lib": [
"DOM",
"ES2016"
],
"module": "CommonJS", /* Specify what module code is generated. */
I'm getting a build error when trying to import any of the libraries
main.ts
tsconfig.json
package.json
npm run build;client