← Home

🔷TypeScript

⌘K
ðŸĪ–
Claude Code AI Tools
ðŸĪ—
Hugging Face AI Tools
ðŸĶœ
LangChain AI Tools
🧠
Keras AI Tools
ðŸĶ™
Ollama AI Tools
🐍
Python Programming Languages
ðŸŸĻ
JavaScript Programming Languages
🔷
TypeScript Programming Languages
⚛ïļ
React Programming Languages
ðŸđ
Go Programming Languages
ðŸĶ€
Rust Programming Languages
📊
MATLAB Programming Languages
🗄ïļ
SQL Programming Languages
⚙ïļ
C/C++ Programming Languages
☕
Java Programming Languages
ðŸŸĢ
C# Programming Languages
🍎
Swift Programming Languages
🟠
Kotlin Programming Languages
â–ē
Next.js Programming Languages
💚
Vue.js Programming Languages
ðŸ”Ĩ
Svelte Programming Languages
ðŸŽĻ
Tailwind CSS Programming Languages
💚
Node.js Programming Languages
🌐
HTML Programming Languages
ðŸŽĻ
CSS/SCSS Programming Languages
🐘
PHP Programming Languages
💎
Ruby Programming Languages
ðŸ”ī
Scala Programming Languages
📊
R Programming Languages
ðŸŽŊ
Dart Programming Languages
💧
Elixir Programming Languages
🌙
Lua Programming Languages
🐊
Perl Programming Languages
🅰ïļ
Angular Programming Languages
🚂
Express.js Programming Languages
ðŸą
NestJS Programming Languages
ðŸ›Īïļ
Ruby on Rails Programming Languages
◾ïļ
GraphQL Programming Languages
🟊
Haskell Programming Languages
💚
Nuxt.js Programming Languages
🔷
SolidJS Programming Languages
⚡
htmx Programming Languages
ðŸ’ŧ
VS Code Development Tools
🧠
PyCharm Development Tools
📓
Jupyter Development Tools
🧠
IntelliJ IDEA Development Tools
💚
Neovim Development Tools
ðŸ”Ū
Emacs Development Tools
🔀
Git DevOps & CLI
ðŸģ
Docker DevOps & CLI
â˜ļïļ
Kubernetes DevOps & CLI
☁ïļ
AWS CLI DevOps & CLI
🔄
GitHub Actions DevOps & CLI
🐧
Linux Commands DevOps & CLI
ðŸ’ŧ
Bash Scripting DevOps & CLI
🌐
Nginx DevOps & CLI
📝
Vim DevOps & CLI
ðŸ”Ļ
Makefile DevOps & CLI
🧊
Pytest DevOps & CLI
🊟
Windows DevOps & CLI
ðŸ“Ķ
Package Managers DevOps & CLI
🍎
macOS DevOps & CLI
🏗ïļ
Terraform DevOps & CLI
🔧
Ansible DevOps & CLI
⎈
Helm DevOps & CLI
ðŸ”Ļ
Jenkins DevOps & CLI
ðŸ”Ĩ
Prometheus DevOps & CLI
📊
Grafana DevOps & CLI
ðŸ’ŧ
Zsh DevOps & CLI
🐟
Fish Shell DevOps & CLI
💙
PowerShell DevOps & CLI
🔄
Argo CD DevOps & CLI
🔀
Traefik DevOps & CLI
☁ïļ
Azure CLI DevOps & CLI
☁ïļ
Google Cloud CLI DevOps & CLI
📟
tmux DevOps & CLI
🔧
jq DevOps & CLI
✂ïļ
sed DevOps & CLI
📊
awk DevOps & CLI
🌊
Apache Airflow DevOps & CLI
ðŸ”Ē
NumPy Databases & Data
🐞
Pandas Databases & Data
ðŸ”Ĩ
PyTorch Databases & Data
🧠
TensorFlow Databases & Data
📈
Matplotlib Databases & Data
🐘
PostgreSQL Databases & Data
🐎
MySQL Databases & Data
🍃
MongoDB Databases & Data
ðŸ”ī
Redis Databases & Data
🔍
Elasticsearch Databases & Data
ðŸĪ–
Scikit-learn Databases & Data
👁ïļ
OpenCV Databases & Data
⚡
Apache Spark Databases & Data
ðŸŠķ
SQLite Databases & Data
⚡
Supabase Databases & Data
ðŸ”ĩ
Neo4j Databases & Data
ðŸ“Ļ
Apache Kafka Databases & Data
🐰
RabbitMQ Databases & Data
ðŸ”Ī
Regex Utilities
📝
Markdown Utilities
📄
LaTeX Utilities
🔐
SSH & GPG Utilities
🌐
curl & HTTP Utilities
📜
reStructuredText Utilities
🚀
Postman Utilities
🎎
FFmpeg Utilities
🖞ïļ
ImageMagick Utilities
🔍
ripgrep Utilities
🔍
fzf Utilities
📗
Microsoft Excel Office Applications
📘
Microsoft Word Office Applications
📙
Microsoft PowerPoint Office Applications
📝
Hancom Hangul Hancom Office
ðŸ“―ïļ
Hancom Hanshow Hancom Office
📊
Hancom Hancell Hancom Office
📄
Google Docs Google Workspace
📊
Google Sheets Google Workspace
ðŸ“―ïļ
Google Slides Google Workspace
🔌
Cadence Virtuoso EDA & Hardware
⚙ïļ
Synopsys EDA EDA & Hardware
💎
Verilog & VHDL EDA & Hardware
⚡
LTSpice EDA & Hardware
🔧
KiCad EDA & Hardware
📝
Notion Productivity
💎
Obsidian Productivity
💎
Slack Productivity
ðŸŽŪ
Discord Productivity
ðŸŽĻ
Figma Design Tools
📘
Confluence Atlassian
📋
Jira Atlassian
🃏
Jest Testing
⚡
Vitest Testing
🎭
Playwright Testing
ðŸŒē
Cypress Testing
🌐
Selenium Testing
💙
Flutter Mobile Development
ðŸ“ą
React Native Mobile Development
🍎
SwiftUI Mobile Development
ðŸ“ą
Expo Mobile Development
🐍
Django Web Frameworks
⚡
FastAPI Web Frameworks
ðŸŒķïļ
Flask Web Frameworks
🍃
Spring Boot Web Frameworks
ðŸļ
Gin Web Frameworks
⚡
Vite Build Tools
ðŸ“Ķ
Webpack Build Tools
⚡
esbuild Build Tools
🐘
Gradle Build Tools
ðŸŠķ
Maven Build Tools
🔧
CMake Build Tools
ðŸŽŪ
Unity Game Development
ðŸĪ–
Godot Game Development
🔌
Arduino Embedded & IoT
🔍
Nmap Security
🐕
Datadog Monitoring
📖
Swagger/OpenAPI Documentation
No results found
EN KO

🏷ïļ Basic Types

ðŸ“Ķ Primitive Types

let x: string = "hello" String type
let x: number = 42 Number type
let x: boolean = true Boolean type
let x: null = null Null type
let x: undefined = undefined Undefined type
let x: symbol = Symbol("id") Symbol type
let x: bigint = 100n BigInt type

âœĻ Special Types

let x: any Any type (opt-out of type checking)
let x: unknown Unknown type (type-safe any)
function f(): void {} Void (no return value)
function f(): never { throw new Error() } Never (never returns)
let x: object = {} Object type (non-primitive)

📋 Arrays & Tuples

let arr: number[] = [1, 2, 3] Array of numbers
let arr: Array<string> = ["a", "b"] Generic array syntax
let tuple: [string, number] = ["a", 1] Tuple (fixed length)
let tuple: [string, ...number[]] Rest element in tuple
let arr: readonly number[] Readonly array
let arr: ReadonlyArray<number> ReadonlyArray type
let tuple: readonly [string, number] Readonly tuple

🔧 Objects & Interfaces

📝 Object Types

let obj: { name: string; age: number } Object type literal
let obj: { name: string; age?: number } Optional property
let obj: { readonly id: number } Readonly property
let obj: { [key: string]: number } Index signature
let obj: { [K in keyof T]: T[K] } Mapped type

📋 Interfaces

interface User { name: string; age: number } Interface declaration
interface User { age?: number } Optional property
interface User { readonly id: number } Readonly property
interface Child extends Parent {} Interface extension
interface A extends B, C {} Multiple inheritance
interface User { [key: string]: any } Index signature
interface Fn { (x: number): string } Function interface

🏷ïļ Type Aliases

type ID = string | number Type alias
type Point = { x: number; y: number } Object type alias
type Callback = (data: string) => void Function type alias
type Tree<T> = { value: T; children?: Tree<T>[] } Recursive type

🔀 Unions & Narrowing

➕ Union Types

type ID = string | number Union type
type Status = "pending" | "done" Literal union
type Result = Success | Error Discriminated union
type A & B Intersection type

🔍 Type Narrowing

if (typeof x === "string") {} typeof guard
if (x instanceof Date) {} instanceof guard
if ("prop" in obj) {} in operator guard
if (x === null) {} Equality narrowing
if (Array.isArray(x)) {} Array check
function isString(x: unknown): x is string Type predicate
x as string Type assertion
<string>x Angle-bracket assertion
x! Non-null assertion

📌 Literal Types

let x: "hello" = "hello" String literal type
let x: 42 = 42 Numeric literal type
let x: true = true Boolean literal type
const x = "hello" const infers literal
let x = "hello" as const as const assertion
const arr = [1, 2] as const Readonly tuple via as const

⚙ïļ Functions

📝 Function Types

function f(x: string): number {} Function declaration
const f = (x: string): number => {} Arrow function
const f: (x: string) => number = ... Function type annotation
function f(x?: string) {} Optional parameter
function f(x: string = "default") {} Default parameter
function f(...args: number[]) {} Rest parameters
function f(this: User, x: string) {} this parameter

🔄 Function Overloads

function f(x: string): string; Overload signature 1
function f(x: number): number; Overload signature 2
function f(x: string | number) { ... } Implementation signature

🧎 Generics in Functions

function f<T>(x: T): T {} Generic function
function f<T, U>(x: T, y: U): [T, U] {} Multiple type params
function f<T extends object>(x: T) {} Constrained generic
function f<T extends { id: number }>(x: T) {} Interface constraint
function f<T = string>(x: T) {} Default type parameter
const f = <T,>(x: T) => x Generic arrow function

🧎 Generics

ðŸ“Ķ Generic Types

interface Box<T> { value: T } Generic interface
type Box<T> = { value: T } Generic type alias
class Box<T> { value: T } Generic class
type Result<T, E = Error> = Success<T> | Failure<E> Default type param

🔒 Generic Constraints

T extends string Extends constraint
T extends { length: number } Shape constraint
T extends U ? X : Y Conditional type
K extends keyof T Keyof constraint
T extends (...args: any) => infer R Infer in conditional

🛠ïļ Built-in Generics

Array<T> Array of T
Promise<T> Promise resolving to T
Map<K, V> Map with key K, value V
Set<T> Set of T
Record<K, V> Object with keys K, values V
WeakMap<K, V> / WeakSet<T> Weak references

🔧 Utility Types

⚙ïļ Common Utilities

Partial<T> All properties optional
Required<T> All properties required
Readonly<T> All properties readonly
Pick<T, K> Pick specific properties
Omit<T, K> Omit specific properties
Record<K, V> Object with key type K
Exclude<T, U> Remove U from T
Extract<T, U> Extract U from T
NonNullable<T> Remove null and undefined

📋 Function Utilities

ReturnType<T> Function return type
Parameters<T> Function parameter types
ConstructorParameters<T> Constructor param types
InstanceType<T> Instance type of class
ThisParameterType<T> Type of this param
OmitThisParameter<T> Remove this param

ðŸ”Ī String Utilities

Uppercase<T> Uppercase string literal
Lowercase<T> Lowercase string literal
Capitalize<T> Capitalize first letter
Uncapitalize<T> Lowercase first letter

🏛ïļ Classes

📝 Class Declaration

class User { name: string } Class with property
class User { private name: string } Private property
class User { protected name: string } Protected property
class User { readonly id: number } Readonly property
class User { #name: string } ES private field
class User { static count: number } Static property
class User { constructor(public name: string) {} } Parameter property

⚙ïļ Class Features

class Child extends Parent {} Class inheritance
class User implements IUser {} Implement interface
abstract class Base {} Abstract class
abstract method(): void Abstract method
get name(): string {} Getter
set name(value: string) {} Setter
override method() {} Override (explicit)

🧎 Class Generics

class Box<T> { value: T } Generic class
class Container<T extends object> {} Constrained generic
class Map<K, V> {} Multiple type params
class Wrapper<T = string> {} Default type param

🚀 Advanced Types

🗚ïļ Mapped Types

type Readonly<T> = { readonly [K in keyof T]: T[K] } Mapped readonly
{ [K in keyof T]?: T[K] } Optional mapping
{ [K in keyof T]-?: T[K] } Remove optional
{ -readonly [K in keyof T]: T[K] } Remove readonly
{ [K in keyof T as NewKey]: T[K] } Key remapping

❓ Conditional Types

T extends U ? X : Y Conditional type
T extends (...args: any) => infer R ? R : never Infer return type
T extends Array<infer U> ? U : never Infer array element
T extends Promise<infer U> ? U : T Unwrap promise
T extends [infer First, ...infer Rest] ? First : never Infer tuple parts

📝 Template Literal Types

type Greeting = `Hello ${string}` String pattern type
type Color = `${R}-${G}-${B}` Combination type
type PropEvent<T> = `${T}Changed` String manipulation
`on${Capitalize<K>}` Capitalize in template

🔑 Keyof & Typeof

keyof T Union of keys
typeof obj Type of value
T[K] Indexed access type
T[keyof T] All property types
typeof arr[number] Array element type
const obj = {...} as const; type T = typeof obj Type from const

ðŸ“Ķ Modules & Namespaces

ðŸ“Ī Import / Export

export const x = 1 Named export
export default function() {} Default export
export { x, y } Export list
export { x as y } Export with rename
export type { User } Type-only export
import { x } from './mod' Named import
import x from './mod' Default import
import * as mod from './mod' Namespace import
import type { User } from './mod' Type-only import
export * from './mod' Re-export all

📄 Declaration Files

declare module "name" {} Ambient module
declare global {} Global augmentation
declare namespace NS {} Namespace declaration
declare function fn(): void Ambient function
declare const x: string Ambient variable
declare class MyClass {} Ambient class
/// <reference types="node" /> Triple-slash directive

⚙ïļ Configuration

📋 tsconfig Options

"strict": true Enable all strict checks
"target": "ES2022" JS output version
"module": "ESNext" Module system
"moduleResolution": "bundler" Module resolution
"esModuleInterop": true CommonJS/ESM interop
"skipLibCheck": true Skip .d.ts checking
"noEmit": true No JS output
"declaration": true Generate .d.ts files
"sourceMap": true Generate source maps
"paths": {"@/*": ["./src/*"]} Path aliases

🔒 Strict Options

"strictNullChecks": true Null/undefined checking
"noImplicitAny": true Error on implicit any
"strictFunctionTypes": true Strict function types
"strictPropertyInitialization": true Check class properties
"noImplicitThis": true Error on implicit this
"noUnusedLocals": true Error on unused locals
"noUnusedParameters": true Error on unused params
"exactOptionalPropertyTypes": true Exact optional types

ðŸ’Ą Tips

📝 Common Patterns

// Type from object keys
const obj = { a: 1, b: 2 } as const;
type Keys = keyof typeof obj; // "a" | "b"

// Discriminated union
type Result =
| { success: true; data: T }
| { success: false; error: Error };

// Type guard function
function isUser(x: unknown): x is User {
return typeof x === "object" && x !== null && "name" in x;
}

// Readonly deep type
type DeepReadonly = {
readonly [K in keyof T]: T[K] extends object
? DeepReadonly
: T[K];
};

// Extract function return type
type AsyncReturn Promise> =
Awaited>;

🚀 Best Practices

  • Use unknown instead of any for type-safe unknown values
  • Prefer interface for object types that may be extended
  • Use type for unions, intersections, and mapped types
  • Enable strict mode in tsconfig for best type safety
  • Use as const for readonly literal types
  • Prefer type narrowing over type assertions
  • Use discriminated unions for complex state management
  • Document complex types with JSDoc comments