> For the complete documentation index, see [llms.txt](https://docs.endless.link/endless/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.endless.link/endless/devbuild/build/endless-sdks/typescript-sdk/typescript.md). Agents can also search and read this documentation through its [MCP server](https://docs.endless.link/endless/~gitbook/mcp).

# Typescript

## TS SDK Typescript <a href="#ts-sdk-typescript" id="ts-sdk-typescript"></a>

Endless SDK is designed to be type-safe! Things to keep in mind:

* Types currently require using TypeScript `v5.2.2` or greater.
* Changes to types in this repository are considered non-breaking and are usually released as patch semver changes (otherwise every type enhancement would be a major version!).
* It is highly recommended that you lock your `@endlesslab/endless-ts-sdk` package version to a specific patch release and upgrade with the expectation that types may be fixed or upgraded between any release.

### Local types <a href="#local-types" id="local-types"></a>

The SDK exports types on the top level and defines and holds all types locally and not using any external type generator excluding for Indexer GraphQL schema that even then the SDK customizes the generated types to be more user friendly and understandable.

You can check the types the SDK supports and exports on the [SDK documentation site](https://docs.endless.link/endless/devbuild/build/endless-sdks/typescript-sdk/typescript.md) organized by SDK version
