Appearance
Home > entanclature > Opts
Opts type
Set baseURL, fileDir and an optional ext.
Signature:
typescript
export declare type Opts = {
baseURL: string;
fileDir: string;
ext?: boolean;
};
Remarks
If you use a URL, baseURL and fileDir will be automatically set.
If you use the file path, you need to specify it manually.
ext determines whether the generated filename has an extension.