Interface GetContentOptions<Type>

Options for getting the content.

interface GetContentOptions<Type> {
    readFile?: ReadFile<Type>;
}

Type Parameters

  • Type = unknown

Properties

Properties

readFile?: ReadFile<Type>

The function to read a file.

The type of the content.

The file path.

The content of the file.