Make all properties in T optional

interface SourceDescription {
    ast?: ProgramNode;
    attributes?: null | Record<string, string>;
    code: string;
    map?: SourceMapInput;
    meta?: null | CustomPluginOptions;
    moduleSideEffects?: null | boolean | "no-treeshake";
    syntheticNamedExports?: null | string | boolean;
}

Hierarchy (view full)

Properties

attributes?: null | Record<string, string>
code: string
meta?: null | CustomPluginOptions
moduleSideEffects?: null | boolean | "no-treeshake"
syntheticNamedExports?: null | string | boolean