Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nest): enable emitDecoratorMetadata in tsconfig update #29594

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emiliodominguez
Copy link

Current Behavior

A TypeScript error occurs when initializing and serving a new NestJS application due to the absence of the experimentalDecorators option, which is required when emitDecoratorMetadata is enabled.

error

Expected Behavior

The tsconfig.json file for new NestJS applications should include the experimentalDecorators option by default to prevent the TypeScript error.

Related Issue(s)

Couldn't find any related issues.

@emiliodominguez emiliodominguez requested a review from a team as a code owner January 11, 2025 20:47
Copy link

vercel bot commented Jan 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jan 11, 2025 8:49pm

Copy link

nx-cloud bot commented Jan 11, 2025

View your CI Pipeline Execution ↗ for commit f4c364c.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 25m 10s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 1m 1s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx format:check --base=f57d8... ✅ Succeeded 19s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 18s View ↗
nx documentation --no-dte ✅ Succeeded 41s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-11 21:21:12 UTC

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