Skip to content
On this page

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.

Released under the CC-BY-SA-4.0 License.