Skip to content

Typescript 5.9 - import defer support #746

@npdev453

Description

@npdev453

Acknowledgements

  • I read the documentation and searched existing issues to avoid duplicates
  • I understand this is a bug tracker and anything other than a proven bug will be closed
  • I understand this is a free project and relies on community contributions
  • I read and understood the Contribution guide

Minimal reproduction URL

nah

Problem & expected behavior (under 200 words)

Typescript 5.9 introduce new syntax import defer

Code:

import defer * as a from '../eslint.config';

Error:

ERROR: Expected "from" but found "*"
    at failureErrorWithLog ([email protected]/node_modules/esbuild/lib/main.js:1463:15)
    at [email protected]/node_modules/esbuild/lib/main.js:734:50
    at responseCallbacks.<computed> ([email protected]/node_modules/esbuild/lib/main.js:601:9)
    at handleIncomingPacket ([email protected]/node_modules/esbuild/lib/main.js:656:12)
    at Socket.readFromStdout ([email protected]/node_modules/esbuild/lib/main.js:579:7)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:561:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
    at Readable.push (node:internal/streams/readable:392:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23) {

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work will speed up resolution and support the project

  • I'm willing to offer $10 for financial support

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions