# configuration/constants/program.constants.ts

> 13 lines of code and 4 definitions.

Tree: GovLab Docs
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/docs#file-docs-configuration-constants-program-constants-ts
Source text: https://banes-lab.com/source/docs/configuration/constants/program.constants.ts.txt

Listed in [configuration/constants](https://banes-lab.com/api/source/docs/configuration/constants.md), after [configuration/constants/manifest.constants.ts](https://banes-lab.com/source/docs/configuration/constants/manifest.constants.ts.md) and before [configuration/constants/taxonomy.domain.constants.ts](https://banes-lab.com/source/docs/configuration/constants/taxonomy.domain.constants.ts.md).

## Definitions

- `PROGRAM_OPTIONS` (lexical_declaration, line 3, exported)
- `PROGRAM_OVERRIDES` (lexical_declaration, line 13, exported)
- `FLAG_PARITY` (lexical_declaration, line 15, exported)
- `CODE_EXTENSIONS` (lexical_declaration, line 17, exported)

## Contained in

- [configuration/constants](https://banes-lab.com/anatomy/docs/folder-docs-configuration-constants.md)

## Source

```typescript
import ts from "typescript";

export const PROGRAM_OPTIONS: ts.CompilerOptions = {
    customConditions: ["development"],
    exactOptionalPropertyTypes: true,
    module: ts.ModuleKind.NodeNext,
    moduleResolution: ts.ModuleResolutionKind.NodeNext,
    noEmit: true,
    skipLibCheck: true,
    target: ts.ScriptTarget.ESNext,
};

export const PROGRAM_OVERRIDES: ts.CompilerOptions = { declaration: false, noEmit: true };

export const FLAG_PARITY = 2;

export const CODE_EXTENSIONS: readonly string[] = [".ts", ".tsx", ".mts", ".cts"];
```
