# TypeJuice - TypeScript 선언 파일을 이용한 문서 생성기

> Clean Markdown view of GeekNews topic #5636. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=5636](https://news.hada.io/topic?id=5636)
- GeekNews Markdown: [https://news.hada.io/topic/5636.md](https://news.hada.io/topic/5636.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-12-28T11:35:26+09:00
- Updated: 2021-12-28T11:35:26+09:00
- Original source: [github.com](https://github.com/galvez/typejuice)
- Points: 7
- Comments: 0

## Topic Body

- 자동완성 기능을 위해 라이브러리들에 포함되는 TypeScript Declaration File 을 이용해서 문서를 자동 생성해주는 도구

ㅤ→ GoDoc 에서 영향받음. 최소화된 TypeDoc.

- .d.ts 파일에서 코멘트를 추출하는 방식으로 동작

ㅤ→ @param 대신 인자를 한 줄에 하나 씩 적고, 앞쪽에 인자에 대한 설명 주석을 붙임

ㅤ→ Type 과 Signature는 자동 유추

- 지원하는 문법들

ㅤ→ 탑 레벨 함수 및 클래스 선언

ㅤ→ 싱글파일 네임스페이스 선언

ㅤ→ 생성자 - string/number/boolean 같은 기본 타입들

ㅤ→ null,undefined

## Comments



_No public comments on this page._
