·excess-property-checking
</>

excess-property-checking

marius-townhouse/effective-typescript-skills

オブジェクト リテラルを型付き変数に割り当てるときに使用します。 「不明なプロパティ」エラーによって混乱した場合に使用します。変数ではなく、オブジェクト リテラルで追加のプロパティにフラグが設定されている場合に使用します。

2インストール·0トレンド·@marius-townhouse

インストール

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill excess-property-checking

SKILL.md

Object literals get special treatment: TypeScript flags unknown properties.

This catches typos and mistakes that structural typing would miss. But it only applies to object literals - understanding this distinction prevents confusion.

When you see "Object literal may only specify known properties", you've triggered excess property checking.

オブジェクト リテラルを型付き変数に割り当てるときに使用します。 「不明なプロパティ」エラーによって混乱した場合に使用します。変数ではなく、オブジェクト リテラルで追加のプロパティにフラグが設定されている場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill excess-property-checking
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-05
更新日
2026-02-18

クイックアンサー

excess-property-checking とは?

オブジェクト リテラルを型付き変数に割り当てるときに使用します。 「不明なプロパティ」エラーによって混乱した場合に使用します。変数ではなく、オブジェクト リテラルで追加のプロパティにフラグが設定されている場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。

excess-property-checking のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill excess-property-checking インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/marius-townhouse/effective-typescript-skills