types-as-sets
✓型の関係について推論するときに使用します。 Union または Intersection タイプによって混同される場合に使用します。拡張が直観に反していると感じる場合に使用してください。
SKILL.md
A type is a set of possible values. Assignability means subset.
Understanding types as sets helps you reason about unions, intersections, extends, and never. This mental model makes TypeScript's behavior intuitive.
If you're confused by assignability errors, think in terms of sets:
型の関係について推論するときに使用します。 Union または Intersection タイプによって混同される場合に使用します。拡張が直観に反していると感じる場合に使用してください。 ソース: marius-townhouse/effective-typescript-skills。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill types-as-sets- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-05
- 更新日
- 2026-02-18
クイックアンサー
types-as-sets とは?
型の関係について推論するときに使用します。 Union または Intersection タイプによって混同される場合に使用します。拡張が直観に反していると感じる場合に使用してください。 ソース: marius-townhouse/effective-typescript-skills。
types-as-sets のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill types-as-sets インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/marius-townhouse/effective-typescript-skills
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-05