We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Const enums (like the ones in https://github.com/brianc/node-postgres/blob/master/packages/pg-protocol/src/messages.ts) are a feature specific to Typescript projects built with tsc compiler. Builds that do not use tsc and only compile explicitly imported files need the --isolatedModules flag enabled, which does not suppport const enums
tsc
--isolatedModules
const enum
Please replace const enums with normal enums.
The text was updated successfully, but these errors were encountered:
#2473
Sorry, something went wrong.
No branches or pull requests
Const enums (like the ones in https://github.com/brianc/node-postgres/blob/master/packages/pg-protocol/src/messages.ts) are a feature specific to Typescript projects built with
tsc
compiler. Builds that do not usetsc
and only compile explicitly imported files need the--isolatedModules
flag enabled, which does not suppportconst enum
sPlease replace
const enum
s with normal enums.The text was updated successfully, but these errors were encountered: