Skip to content
Type

InputOptions

The options for creating an Input object.

ts
type InputOptions<S extends Source = Source> = {
	formats: InputFormat[];
	source: S;
};

See InputFormat and Source.

Used by

Properties

formats

ts
formats: InputFormat[];

A list of supported formats. If the source file is not of one of these formats, then it cannot be read.

See InputFormat.

source

ts
source: S;

The source from which data will be read.

Released under the Mozilla Public License 2.0.