evolving-types とは?
コードの実行中に型が変更される場合に使用します。配列が段階的に構築される場合に使用します。狭くなる any[] を操作する場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。
コードの実行中に型が変更される場合に使用します。配列が段階的に構築される場合に使用します。狭くなる any[] を操作する場合に使用します。
コマンドラインで evolving-types AI スキルを開発環境にすばやくインストール
ソース: marius-townhouse/effective-typescript-skills。
Some variables start with broad types and narrow as TypeScript sees values added.
This is an exception to the rule that types don't change. Variables initialized without a value, or as empty arrays, can have "evolving" types that narrow based on what you assign to them.
Once a variable leaves its scope or is used in a function, its type is fixed:
コードの実行中に型が変更される場合に使用します。配列が段階的に構築される場合に使用します。狭くなる any[] を操作する場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill evolving-typesBrowse more skills from marius-townhouse/effective-typescript-skills
コードの実行中に型が変更される場合に使用します。配列が段階的に構築される場合に使用します。狭くなる any[] を操作する場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill evolving-types インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/marius-townhouse/effective-typescript-skills