Skip to content

jsonapi: does not build with typescript 5.5 #93

@chfoidl

Description

@chfoidl

Building works with 5.5.0-dev.20240516, but fails since 5.5.0-dev.20240517.

Leads to the following error:

src/index.ts → dist/index.d.ts...
[!] (plugin dts) RangeError: Maximum call stack size exceeded
src/index.ts
    at symbolToExpression (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:55791:32)
    at symbolToNode (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:54031:14)
    at /home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:53950:144
    at withContext2 (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:54061:29)
    at symbolToNode (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:53950:80)
    at symbolToStringWorker (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:53843:22)
    at usingSingleLineStringWriter (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:16275:5)
    at symbolToString (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:53841:62)
    at isSymbolAccessibleWorker (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:53717:26)
    at isSymbolAccessible (/home/chfoidl/workspace/wunderwerk/drupal-kit/node_modules/.pnpm/typescript@5.5.0-dev.20240517/node_modules/typescript/lib/typescript.js:53688:12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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