> For the complete documentation index, see [llms.txt](https://radlohead.gitbook.io/typescript-deep-dive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://radlohead.gitbook.io/typescript-deep-dive/main-1/staticconstructor.md).

# 정적 생성자

TypeScript `class` 는 (JavaScript `class` 와 마찬가지로) 정적 생성자를 가질 수 없습니다. 하지만 같은 스타일로 호출해주기만 하면 거의 동일한 효과를 쉽게 얻을 수 있습니다:

```typescript
class MyClass {
    static initialize() {
        // 초기화
    }
}
MyClass.initialize();
```
