Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

typescript-issue-1

General Pre-requisites

  • Make sure you have Node.js v22.6.0 installed (we recommend using NVM).
  • Modern Yarn requires corepack to be enabled. To enable corepack, it is sufficient to run corepack enable once (requires Node.js). You might need to enable corepack again every time you update Node.js (especially if you use NVM).
  • We use GIT LFS to store large binary files. Make sure you have it installed and configured. You might need to run git lfs install once.

The Issue

  1. Run yarn build:types-tsc.
  2. See error:
/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:122142
throw e;
^

Error: Debug Failure. False expression.
    at Object.isUndefinedIdentifierExpression (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:50399:15)
at typeFromExpression (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:132354:22)
at serializeTypeOfExpression (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:132089:20)
at Object.serializeTypeOfDeclaration (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:132113:16)
at serializeTypeForDeclaration (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:52737:41)
at addPropertyToElementList (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:51616:43)
at createTypeNodesFromResolvedType (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:51511:11)
at createTypeNodeFromObjectType (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:51246:25)
at visitAndTransformType (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:51169:24)
at createAnonymousTypeNode (/path/to/repository/typescript-issue-1/node_modules/typescript/lib/_tsc.js:51109:20)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages