Skip to content

chore(deps): update @typescript/native-preview#1479

Merged
Timeless0911 merged 1 commit intomainfrom
chore/update-native-preview
Feb 10, 2026
Merged

chore(deps): update @typescript/native-preview#1479
Timeless0911 merged 1 commit intomainfrom
chore/update-native-preview

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

@Timeless0911 Timeless0911 commented Feb 10, 2026

Summary

Update @typescript/native-preview to 7.0.0-dev.20260210.1 and fix related integration tests to align with ts 6.0 defaults.

Related Links

microsoft/TypeScript#63085

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings February 10, 2026 08:29
@Timeless0911 Timeless0911 changed the title chore: update @typescript/native-preview to 7.0.0-dev.20260210.1 chore(deps): update @typescript/native-preview Feb 10, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo to use a newer @typescript/native-preview build and aligns the tsgo-related redirect integration fixtures/snapshots with the updated .d.ts emit shape.

Changes:

  • Bump @typescript/native-preview to 7.0.0-dev.20260210.1 (and update pnpm-lock.yaml).
  • Update tsgo redirect integration snapshots to expect type sources = typeof import(...) instead of import sources = require(...).
  • Update the tsgo redirect fixture source to use typeof import(...) for sources.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
tests/integration/redirect/dtsTsgo.test.ts Updates inline snapshots for .d.ts output produced by tsgo/native-preview.
tests/integration/redirect/dts-tsgo/src/index.ts Adjusts fixture source to use typeof import() typing for sources.
packages/plugin-dts/package.json Bumps @typescript/native-preview devDependency version.
pnpm-lock.yaml Updates lockfile for the new native-preview version (and other resolved dependency changes).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

tests/integration/redirect/dts-tsgo/src/index.ts:12

  • sources is defined as a type alias, but it’s exported via a regular named export (export { sources, ... }). In this repo, type-only exports are typically made explicit (e.g. export type { ... }), which avoids issues with isolated-module transpilers and makes the API clearer. Consider exporting it as a type-only export (e.g. export { type sources, ... } or export type { sources }) and adjusting the fixture expectations accordingly.
type sources = typeof import('@src/logger');

export {
  sources,
  type Baz as self,
  logRequest,

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Timeless0911 Timeless0911 merged commit b95fa63 into main Feb 10, 2026
21 checks passed
@Timeless0911 Timeless0911 deleted the chore/update-native-preview branch February 10, 2026 09:44
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.

2 participants