typescript-satisfies-operator
TypeScript의 만족 연산자와 유형 주석의 올바른 사용법을 안내합니다. 유형 주석(콜론)과 만족 사이를 결정하거나, 리터럴 유형을 유지하면서 객체 모양을 검증하거나, 유형 추론 문제를 해결할 때 이 기술을 사용하세요.
SKILL.md
The satisfies operator validates that an expression matches a type without changing the inferred type. This is different from type annotations (:) which widen the type.
| Annotation Style | Type vs Value | Use Case |
| : Type (colon) | Type wins | Need wider type for reassignment | | satisfies Type | Value wins | Need validation + narrow inference | | as Type | Lies to TS | Escape hatch (use sparingly!) | | No annotation | Inference | Most common - let TS infer |
TypeScript의 만족 연산자와 유형 주석의 올바른 사용법을 안내합니다. 유형 주석(콜론)과 만족 사이를 결정하거나, 리터럴 유형을 유지하면서 객체 모양을 검증하거나, 유형 추론 문제를 해결할 때 이 기술을 사용하세요. 출처: flpbalada/my-opencode-config.
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/flpbalada/my-opencode-config --skill typescript-satisfies-operator- 카테고리
- </>개발 도구
- 인증됨
- —
- 최초 등록
- 2026-02-01
- 업데이트
- 2026-02-18
빠른 답변
typescript-satisfies-operator이란?
TypeScript의 만족 연산자와 유형 주석의 올바른 사용법을 안내합니다. 유형 주석(콜론)과 만족 사이를 결정하거나, 리터럴 유형을 유지하면서 객체 모양을 검증하거나, 유형 추론 문제를 해결할 때 이 기술을 사용하세요. 출처: flpbalada/my-opencode-config.
typescript-satisfies-operator 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/flpbalada/my-opencode-config --skill typescript-satisfies-operator 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/flpbalada/my-opencode-config
상세
- 카테고리
- </>개발 도구
- 출처
- user
- 최초 등록
- 2026-02-01