·no-null-in-aliases
</>

no-null-in-aliases

型の別名を定義するときに使用します。型定義に null/unknown が出現する場合に使用します。型がわかりにくい場合に使用します。

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

インストール

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill no-null-in-aliases

no-null-in-aliases のインストール方法

コマンドラインで no-null-in-aliases AI スキルを開発環境にすばやくインストール

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

ソース: marius-townhouse/effective-typescript-skills。

When you read User, you expect a user - not maybe-a-user. Include null explicitly at usage sites instead of hiding it in type aliases.

Then the optional chain ?. is needed. But readers can't tell without checking the definition.

This rule applies to the top level of type aliases. Nullable properties inside objects are fine:

型の別名を定義するときに使用します。型定義に null/unknown が出現する場合に使用します。型がわかりにくい場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。

引用可能な情報

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

インストールコマンド
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill no-null-in-aliases
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-26
更新日
2026-03-10

Browse more skills from marius-townhouse/effective-typescript-skills

クイックアンサー

no-null-in-aliases とは?

型の別名を定義するときに使用します。型定義に null/unknown が出現する場合に使用します。型がわかりにくい場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。

no-null-in-aliases のインストール方法は?

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

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

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