Sure! TypeScript supports the same primitive data types as JavaScript. Here are some examples of primitive data types in TypeScript:
1. **Boolean**: Represents a logical value `true` or `false`.
```typescript
let isFlagOn: boolean = true;
let hasPermission: boolean = false;
```
2. **Number**: Represents numeric values, both integers and floating-point numbers.
```typescript
let age: number = 25;
let pi: number = 3.14159;
```
3. **String**: Represents textual data, enclosed in single or double quotes.
```typescript
let message: string = "Hello, TypeScript!";
let username: string = 'JohnDoe';
```
4. **Null**: Represents an intentional absence of any object value.
```typescript
let noValue: null = null;
```
5. **Undefined**: Represents a variable that has been declared but not assigned a value.
```typescript
let uninitialized: undefined = undefined;
let notAssigned: undefined;
```
6. **Symbol**: Represents a unique and immutable value used as object property keys.
```typescript
const idSymbol: symbol = Symbol('id');
const nameSymbol: symbol = Symbol('name');
```
Note: TypeScript also has a special type called `any`, which allows variables to be assigned any value without type checking. However, it is generally considered best practice to avoid using `any` whenever possible, as it undermines the benefits of static typing. Instead, you should explicitly define the data types for variables whenever you can.