Skip to content

fix: add top-level types field to package.json - #952

Merged
atinux merged 1 commit into
mainfrom
fix/types-field
Nov 2, 2026
Merged

atinux merged 1 commit into
mainfrom
fix/types-field

Conversation

@atinux

@atinux atinux commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Replaces #951 by @psfazila02-hub, which was closed by mistake (see the comment there). The commit credits them as co-author.

Adds "types": "./dist/types.d.mts" next to main so TypeScript's legacy node10 resolution picks up types.d.mts instead of falling back to dist/module.d.mts. With bundler or node16, exports already resolves to types.d.mts, so Nuxt projects are unaffected.

Written by an AI agent (Amp) on behalf of @atinux.

@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nuxthub Ready Ready Preview Nov 2, 2026 12:00pm UTC

@atinux
atinux merged commit f8bd1f7 into main Nov 2, 2026
7 of 8 checks passed
@atinux
atinux deleted the fix/types-field branch November 2, 2026 12:00
@github-actions github-actions Bot mentioned this pull request Nov 2, 2026

This branch was successfully deployed

1 active deployment
Preview — 77069ee9 Deployed Nov 2, 2026 by vercel[bot]
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