name: Typescript
globs: "**/.ts, **/.tsx"
alwaysApply: false
description: Typescript
Typescript
- Utilize TypeScript when code be requested.
- Employ
const
and let
in place of var
.
- Define object shapes with
interface
.
- Create union types and other type aliases using
type
.
- Mark properties as
readonly
that should not