> ## Documentation Index
> Fetch the complete documentation index at: https://site.aspect.build/llms.txt
> Use this file to discover all available pages before exploring further.

# @aspect_rules_ts//ts:extensions.bzl

> Bazel rules_ts bzlmod module extensions for registering the TypeScript compiler version and dependencies of rules_ts in your MODULE.bazel file.

<Callout icon="book">
  Documentation for [@aspect\_rules\_ts@v3.8.4](https://registry.bazel.build/modules/aspect_rules_ts/3.8.4) -- <Icon icon="github" iconType="brands" /> [View source](https://github.com/aspect-build/rules_ts/blob/v3.8.4/ts/extensions.bzl)
</Callout>

Define module extensions for using rules\_ts with bzlmod.
See [https://bazel.build/docs/bzlmod#extension-definition](https://bazel.build/docs/bzlmod#extension-definition)

## Module extension: `ext`

### Tag: `deps`

<ParamField body="name" type="name" default={`npm_typescript`} />

<ParamField body="ts_version" type="string" default={`""`} />

<ParamField body="ts_version_from" type="label" default={`None`} />

<ParamField body="ts_integrity" type="string" default={`""`} />
