---
meta:
 - name: keywords
   description: api typescript node.js documentation SwigEngine class
---
# SwigEngine - @tsed/engines

## Usage

```typescript
import { SwigEngine } from "@tsed/engines/src/components/SwigEngine";
```

> See [/packages/engines/src/components/SwigEngine.ts](https://github.com/tsedio/tsed/blob/v8.28.2/packages/engines/src/components/SwigEngine.ts#L0-L0).

## Overview

```ts
class SwigEngine extends Engine {
    protected $compile(template: string, options: any): (options: any) => Promise<string>;
}
```

<!-- Members -->

## protected $compile

```ts
protected $compile(template: string, options: any): (options: any) => Promise<string>;
```
