Type alias WithVersion

WithVersion: {
    resolve?: ResolveCallback;
    version?: string;
}

Defines attributes for the version option.

Type declaration

  • Optional Readonly resolve?: ResolveCallback

    A resolution function scoped to the module where a package.json file should be searched. Use import.meta.resolve. Use in non-browser environments only.

  • Optional Readonly version?: string

    The semantic version (e.g., 0.1.0) or version information. It is not validated, but cannot be empty. It may contain inline styles.