Skip to content

Global Types

apm-components 라이브러리를 추가하면 아래 타입이 글로벌로 정의되며, 타입을 Import 하지 않아도 사용할 수 있습니다.

ts
type I18n = Record<string, string>;
type PlatformType = 'java' | 'net' | 'php' | 'python' | 'opentelemetry';
type LanguageType = 'ko' | 'en' | 'ja';
type ThemeType = 'classic' | 'dark';