Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(tsconfig): add ESNext lib definitions#525

Open
Shreyvats01 wants to merge 1 commit into
steven-tey:mainfrom
Shreyvats01:fix/add-esnext-lib
Open

fix(tsconfig): add ESNext lib definitions#525
Shreyvats01 wants to merge 1 commit into
steven-tey:mainfrom
Shreyvats01:fix/add-esnext-lib

Conversation

@Shreyvats01

Copy link
Copy Markdown

Summary

This PR adds ESNext to the React library TypeScript configuration.

Why

The current configuration only includes DOM type definitions. Adding ESNext provides typings for modern JavaScript APIs and built-in objects, preventing type-checking issues when using newer language features.

Changes

Before:

"lib": ["DOM"]

After:

"lib": ["DOM", "ESNext"]

Verification

  • pnpm typecheck
  • pnpm build

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

@Shreyvats01 is attempting to deploy a commit to the Elegance Team on Vercel.

A member of the Team first needs to authorize it.

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