# toTsOasOperationProjectionBase

FUNCTION in `@skmtc/lang-typescript 0.19.1`

Build a TypeScript OAS operation projection base class.

Thin veneer over core's `toOasOperationProjectionBase`: passes `TsSnippet`
as the base (the hierarchy is language-bound at its root) and adds the
register ergonomics core deliberately doesn't define - typed with
TypeScript's concise vocabulary, which core can't name (F10):

- `register(args)` - **own-file**: `destinationPath` is always this
  projection's `settings.exportPath` (the foundation rule; never a
  fallback).
- `registerInto(destinationPath, args)` - the explicit cross-file path.

Both delegate to this package's register *function* - never
`super.register` (lang-base members are type-erased on core's factory
result).

The config is core's `OasOperationProjectionBaseConfig` parameterized over
`TsIdentifierType` (so `toIdentifierType`'s return tightens to the
`type` bound to `TsEntityType`). The base is the factory's first argument,
not a config field.

`ProjectionOptions` - the caller options the projection declares (see
core's `ProjectionOptions`) - is forwarded to the config unchanged.

## Signature

```ts
import { toTsOasOperationProjectionBase } from '@skmtc/lang-typescript'

toTsOasOperationProjectionBase<EnrichmentType = undefined, ProjectionOptions = undefined>(
  config: OasOperationProjectionBaseConfig<EnrichmentType, TsIdentifierType, ProjectionOptions>
): TsOasOperationProjectionBaseClass<EnrichmentType, ProjectionOptions>
```

## Parameters

- `config` (OasOperationProjectionBaseConfig<EnrichmentType, TsIdentifierType, ProjectionOptions>, required)

## Returns

`TsOasOperationProjectionBaseClass<EnrichmentType, ProjectionOptions>`
