스칼라 이름과 설명을 정의합니다.
필드 번역을 정의합니다.
Enum 값 번역을 정의합니다.
t([...])
t(["Status", "상태"])
.desc([...])
.desc(["Current status", "현재 상태"])
t(["Label", "레이블"])
t(["Label", "레이블"]).desc(["Desc", "설명"])
.enum<Journey>("Journey", ...)
.enum<Journey>("journey", ...)
const dictionary = ...
export const dictionary = ...
t(["한국어", "English"])
t(["English", "한국어"])
// TypeScript error
모든 필드 정의