---
type: snippet
tags: ['typescript', 'function']
status: release
ctime: 2022-04-09
mtime: 2026-07-27
---

```ts
interface MathFn {
  (a: number, b: number): number
}
const sum: MathFn = (a, b) => a + b
```

- [TypeScript Function Syntaxes](https://kentcdodds.com/blog/typescript-function-syntaxes) [(번역)](https://ui.toast.com/weekly-pick/ko_20210521)[^15-1]
- [Typing functions in TypeScript](https://2ality.com/2020/04/typing-functions-typescript.html)[^15-2]

---

[^15-1]: function declarations, function expressions, arrow functions, methods등 TypeScript에서 함수를 선언하는 다양한 방법들.
[^15-2]: TypeScript에서 함수를 입력하는 방법에 대한 종합적인 가이드