Typescript

From LedgerHQ/ledger-live · View interactive version

Typescript is an AI agent skill from the GitHub repository LedgerHQ/ledger-live. TypeScript + React typing conventions for Ledger Wallet. Read when writing or reviewing .ts and .tsx files.

How to use this skill

Skill file

Components

Props & State

Hooks

Data & Types

Imports & Exports

1. External libs

2. Internal modules

3. Types

Packages read from source

Private packages have no build: a consumer compiles their src/ with its own compiler options, and

apps run them through per-file transpilers (SWC, Babel, rspack, Bun).

settings their files require. When it cannot be, fix the dependency's source: the existing

exceptions are in CODE0,

a list that only shrinks.

of values (EXCHANGE_TYPE.swap, not ExchangeTypes.Swap).

Error Handling

Async Patterns

Performance

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.