[DOCS] Typo in `SlashCommand` TS types

Resolved 💬 2 comments Opened Sep 16, 2025 by benbrandt Closed Sep 24, 2025

Documentation Type

Typo or formatting issue

Documentation Location

@anthropic-ai/claude-code/sdk.d.ts

Section/Topic

TypeScript types

Current Documentation

export type SlashCommand = {
    name: string;
    desciption: string;
    argumentHint: string;
};

What's Wrong or Missing?

desciption should be description

Suggested Improvement

desciption should be description

Impact

High - Prevents users from using a feature

Additional Context

This causes a typescript error for valid code

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗