Skip to content

JsonConfigSourceOptions

@tsed/config

Usage

typescript
import { JsonConfigSourceOptions } from "@tsed/config";

See /packages/config/src/types/providers/json/JsonConfigSource.ts.

Overview

ts
interface JsonConfigSourceOptions {
    path: string;
    encoding?: BufferEncoding;
}

path

ts
path: string;

The path to the JSON file.

encoding

ts
encoding?: BufferEncoding;

The encoding to use when reading the file.

Released under the MIT License.