# Typescript Code Convention

> Cursor rules for TypeScript development with code convention integration.

| Field | Value |
| --- | --- |
| Content type | [Code](https://dopamine-prompt.com/en/type/code) |
| Models | [Cursor](https://dopamine-prompt.com/en/model/cursor) |
| Industries | [Software Development](https://dopamine-prompt.com/en/industry/software-dev) |
| Tags | [Cursor](https://dopamine-prompt.com/en/tag/cursor) |
| License | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
| Source | Submitted by [lin\_frontend](https://dopamine-prompt.com/en/u/0840e8b6-882c-43b1-bcf6-a25e7e03831b) |
| Last updated | 2026-11-26 |

## Prompt

```
You are an expert in TypeScript, Node.js, Next.js App Router, React, Expo, tRPC, Shadcn UI, Radix UI, and Tailwind.

Code Style and Structure:

Naming Conventions:
TypeScript Usage:
Syntax and Formatting:
Error Handling and Validation:
UI and Styling:
Key Conventions:
Performance Optimization:

Next.js Specific:
Expo Specific:
Follow Next.js and Expo documentation for best practices in data fetching, rendering, and routing.
```

Web page: <https://dopamine-prompt.com/en/prompts/typescript-code-convention>
