Make all properties in T optional

interface OutputPlugin {
    augmentChunkHash: undefined | ObjectHook<((this, chunk) => string | void), {}>;
    banner: undefined | ObjectHook<AddonHook, {}>;
    cacheKey?: string;
    footer: undefined | ObjectHook<AddonHook, {}>;
    generateBundle: undefined | ObjectHook<((this, ...parameters) => void | Promise<void>), {}>;
    intro: undefined | ObjectHook<AddonHook, {}>;
    name: string;
    outputOptions: undefined | ObjectHook<((this, options) => NullValue | OutputOptions), {}>;
    outro: undefined | ObjectHook<AddonHook, {}>;
    renderChunk: undefined | ObjectHook<((this, ...parameters) => string | NullValue | { code: string; map?: SourceMapInput; } | Promise<string | NullValue | { code: string; map?: SourceMapInput; }>), {}>;
    renderDynamicImport: undefined | ObjectHook<((this, options) => NullValue | { left: string; right: string; }), {}>;
    renderError: undefined | ObjectHook<((this, ...parameters) => void | Promise<void>), {
        sequential?: boolean;
    }>;
    renderStart: undefined | ObjectHook<((this, ...parameters) => void | Promise<void>), {
        sequential?: boolean;
    }>;
    resolveFileUrl: undefined | ObjectHook<ResolveFileUrlHook, {}>;
    resolveImportMeta: undefined | ObjectHook<ResolveImportMetaHook, {}>;
    version?: string;
    writeBundle: undefined | ObjectHook<((this, ...parameters) => void | Promise<void>), {
        sequential?: boolean;
    }>;
}

Hierarchy (view full)

Properties

augmentChunkHash: undefined | ObjectHook<((this, chunk) => string | void), {}>
banner: undefined | ObjectHook<AddonHook, {}>
cacheKey?: string
footer: undefined | ObjectHook<AddonHook, {}>
generateBundle: undefined | ObjectHook<((this, ...parameters) => void | Promise<void>), {}>
intro: undefined | ObjectHook<AddonHook, {}>
name: string
outputOptions: undefined | ObjectHook<((this, options) => NullValue | OutputOptions), {}>
outro: undefined | ObjectHook<AddonHook, {}>
renderChunk: undefined | ObjectHook<((this, ...parameters) => string | NullValue | { code: string; map?: SourceMapInput; } | Promise<string | NullValue | { code: string; map?: SourceMapInput; }>), {}>
renderDynamicImport: undefined | ObjectHook<((this, options) => NullValue | { left: string; right: string; }), {}>
renderError: undefined | ObjectHook<((this, ...parameters) => void | Promise<void>), {
    sequential?: boolean;
}>
renderStart: undefined | ObjectHook<((this, ...parameters) => void | Promise<void>), {
    sequential?: boolean;
}>
resolveFileUrl: undefined | ObjectHook<ResolveFileUrlHook, {}>
resolveImportMeta: undefined | ObjectHook<ResolveImportMetaHook, {}>
version?: string
writeBundle: undefined | ObjectHook<((this, ...parameters) => void | Promise<void>), {
    sequential?: boolean;
}>