Files
next.js/test/development/typescript-plugin
a9492ffa12 chore: update typescript document path (#72482)
## Description
At #72178,
[TypeScript](https://nextjs.org/docs/app/api-reference/config/typescript)
docs was moved.
So update the old URLs.

### Improving Documentation

- [x] Run `pnpm prettier-fix` to fix formatting issues before opening
the PR.
- [x] Read the Docs Contribution Guide to ensure your contribution
follows the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

---------

Co-authored-by: Zack Tanner <[email protected]>
2024-11-07 14:42:24 -08:00
..

typescript-plugin fixture

This fixture is used to test the TypeScript plugin. The plugin only applies to VSCode so manual testing in VSCode is required.

Getting started

  1. Install the dependencies with pnpm install
  2. Open any TypeScript file of this fixture in VSCode
  3. Change TypeScript version to use Workspace version (see https://nextjs.org/docs/app/api-reference/config/typescript#typescript-plugin)

Tests

Client component prop serialization

app/client.tsx#ClientComponent has props that can and can't be serialized. Ensure the current comments still describe the observed behavior.

app/error.tsx#Error and app/global-error.tsx#GlobalError have a reset prop that should be excluded from the serialization check.