Skip to content

Typescript crash with 0.30.x & typescript 3.6+ #131

@kbrownlees

Description

@kbrownlees

Just thought I would mention this here for visibility, but we are hitting a typescript crash (microsoft/TypeScript#60278) when trying to compile using typescript 3.6+ & 0.30.x. Works fine for typescript < 3.6 or @ramda/types < 0.30.

Error:

repo/node_modules/typescript/lib/tsc.js:120986
      throw e;
      ^

TypeError: Cannot read properties of undefined (reading 'length')
    at elaborateDidYouMeanToCallOrConstruct (repo/node_modules/typescript/lib/tsc.js:62405:62)
    at elaborateError (repo/node_modules/typescript/lib/tsc.js:62360:10)
    at checkTypeRelatedToAndOptionallyElaborate (repo/node_modules/typescript/lib/tsc.js:62344:24)
    at getSignatureApplicabilityError (repo/node_modules/typescript/lib/tsc.js:74382:14)
    at resolveCall (repo/node_modules/typescript/lib/tsc.js:74778:25)
    at resolveCallExpression (repo/node_modules/typescript/lib/tsc.js:75193:12)
    at resolveSignature (repo/node_modules/typescript/lib/tsc.js:75586:16)
    at getResolvedSignature (repo/node_modules/typescript/lib/tsc.js:75612:18)
    at checkCallExpression (repo/node_modules/typescript/lib/tsc.js:75723:23)
    at checkExpressionWorker (repo/node_modules/typescript/lib/tsc.js:79132:16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions