Files
NFD2NFC/src/lib/index.ts
jung-geun 6fe306e7b1 fix: typecheck/lint 오류 수정
tsconfig.json: module ESNext로 변경, renderer 제외.
.eslintrc.cjs: varsIgnorePattern '^_' 추가.
store.ts: notificationIntervalSecs 기본값(30) 추가.
src/lib/index.ts: FilterOptions/ScanEntry를 올바른 소스 파일에서 import.
scanner.ts: 미사용 fs import 제거.
ipc.ts: 미사용 nanoid import 제거.
cli/index.ts: 미사용 argv 변수 void 처리, showHelp() → 메시지 출력으로 대체.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 15:50:25 +09:00

12 lines
520 B
TypeScript

// 1.0.0 호환 shim — 단순 문자열 정규화
export const normalizeToNFC = (s: string): string => s.normalize('NFC');
export const normalizeToNFD = (s: string): string => s.normalize('NFD');
// 파일 시스템 API
export { normalizeEntry } from '../core/normalizer';
export { scan } from '../core/scanner';
export { shouldNormalize } from '../core/filter';
export type { FilterOptions } from '../core/filter';
export type { ScanEntry } from '../core/scanner';
export type { RenameResult } from '../core/types';