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

docs(route-handlers): add TS/JS switcher to Route Resolution section in Route Handlers #72222

Merged
merged 4 commits into from
Nov 7, 2024

Conversation

arfa123
Copy link
Contributor

@arfa123 arfa123 commented Nov 2, 2024

This PR fixes issue on the Route Handlers documentation page:

Missing switcher for TS codeblock in Route Resolution section.
image

…dlers.mdx

- Added a TypeScript/JavaScript switcher to the `route-handlers.mdx` documentation file to allow users to easily switch between the code examples for both languages.
@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Nov 2, 2024
@ijjk
Copy link
Member

ijjk commented Nov 2, 2024

Allow CI Workflow Run

  • approve CI run for commit: 0627459

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@arfa123 arfa123 changed the title docs(route-handlers): add TypeScript/JavaScript switcher to Route Resolution section in Route Handlers docs(route-handlers): add TS/JS switcher to Route Resolution section in Route Handlers Nov 2, 2024
@delbaoliveira delbaoliveira enabled auto-merge (squash) November 7, 2024 09:07
@delbaoliveira delbaoliveira merged commit 9d31638 into vercel:canary Nov 7, 2024
39 checks passed
@arfa123 arfa123 deleted the patch-4 branch November 7, 2024 09:20
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants