graphql-relay-js
graphql-relay-js copied to clipboard
Compile error: 'NotSupportedTSVersion.d.ts' is not a module.
When upgrading from '0.9.0' to '0.10.0', we are getting the following build error:
> tsdx build --target node
(typescript) Error: /Users/demian/skedify/backend-mono/packages/pagination-package/src/connection-args.ts(2,60):
semantic error TS2306: File 'x/packages/pagination-package/node_modules/graphql-relay/NotSupportedTSVersion.d.ts' is not a module.
This is because of this section in the package.json
file:
"typesVersions": {
">=4.1.0": {
"*": [
"*"
]
},
"*": {
"*": [
"NotSupportedTSVersion.d.ts"
]
}
},
Our TypeScript version is ^4.7.4
How we build:
We make use of TSDX to build our packages: https://tsdx.io/