Skip to content

fix(api/baseline): add .ts extension to worker type import#512

Merged
marcoscaceres merged 1 commit into
mainfrom
fix/baseline-worker-import
May 3, 2026
Merged

fix(api/baseline): add .ts extension to worker type import#512
marcoscaceres merged 1 commit into
mainfrom
fix/baseline-worker-import

Conversation

@marcoscaceres

Copy link
Copy Markdown
Collaborator

Summary

  • The baseline worker type import was missing the .ts extension, causing a build failure with TypeScript 6 + nodenext module resolution.
  • The other workers (xref, caniuse) already use the .ts extension — this aligns the baseline worker with them.

Test plan

  • pnpm run build passes (was failing with TS2307: Cannot find module './update.worker')

The baseline worker import was missing the .ts extension required by
TypeScript 6 with nodenext module resolution, causing a build failure.
@marcoscaceres
marcoscaceres merged commit de864a3 into main May 3, 2026
3 checks passed
@marcoscaceres
marcoscaceres deleted the fix/baseline-worker-import branch May 3, 2026 14:20
@marcoscaceres

Copy link
Copy Markdown
Collaborator Author

hot fix for server. Merging.

marcoscaceres added a commit that referenced this pull request May 4, 2026
The baseline worker import was missing the .ts extension required by
TypeScript 6 with nodenext module resolution, causing a build failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant