Closed viraj124 closed 4 years ago
This is related to the following settings in tsconfig under compilerOptions -
At this point there is not override that i know of that will fix it unless using those flags. (There has been some unsuccessful attempts to get it working without)
I see you have a #private
error as well - those were introduced in TS 3.8, it won't compile on earlier versions. https://www.typescriptlang.org/docs/handbook/classes.html#ecmascript-private-fields
This is related to the following settings in tsconfig under compilerOptions -
- "allowSyntheticDefaultImports": true,
- "esModuleInterop": true,
At this point there is not override that i know of that will fix it unless using those flags. (There has been some unsuccessful attempts to get it working without)
@jacogr let try without these once
doesn't work looks like I need to upgrade TS version right ?
You will need at least 3.8, before that it at least #private
(as per the link to TS) is not supported.
Closing, assuming resolved.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
Hi, I am getting compilation errors with running yarn build, error info below
node js version => v12.6.0 @polkadot/api => 2.3.1 The issue happens with running yarn build on my TS Project