---
name: typescript
description: "Use when adopting TypeScript compiler to assess this standard: Type-check without emitting assets"
---

# Apply TypeScript compiler

Run the repository's TypeScript configuration with emission disabled. Align module resolution and included files with the application build.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by TypeScript compiler.
2. Use TypeScript compiler in this repository to meet this standard: Type-check without emitting assets. Run the repository's TypeScript configuration with emission disabled. Align module resolution and included files with the application build. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://www.typescriptlang.org/tsconfig/noEmit.html) for configuration and prerequisites.

## Tool invocation

```
npx --no-install tsc --noEmit
```
