Skip to content
Type

TargetRequest ​

A request for a Target at the given path.

ts
type TargetRequest = {
	path: FilePath;
	isRoot: boolean;
	mimeType: string;
};

See FilePath.

Used by ​

Properties ​

path ​

ts
path: FilePath;

The requested file path.

See FilePath.

isRoot ​

ts
isRoot: boolean;

Whether the to-be-written file will be the root file.

mimeType ​

ts
mimeType: string;

The MIME type of the to-be-written file.

Released under the Mozilla Public License 2.0.