Skip to main content

Function: loadJsonFile()

loadJsonFile<T>(filename): Promise<T>

Load the JSON file.

Type Parameters

T

T

Parameters

filename

string

The filename of the JSON file to load.

Returns

Promise<T>

The parsed JSON content of the file.