cspell-lib
Version:
A library of useful functions used across various cspell tools.
12 lines • 618 B
TypeScript
import type { CSpellSettings, PnPSettings } from '@cspell/cspell-types';
import type { OptionalOrUndefined } from '../../../util/types.js';
export type PnPSettingsOptional = OptionalOrUndefined<PnPSettings>;
export declare const defaultPnPSettings: PnPSettings;
/**
* create PnPSettings object that can be used to compare to the last call.
* This is to reduce object churn and unnecessary configuration loading.
* @param settings - value to normalize
* @returns
*/
export declare function normalizePnPSettings(settings: PnPSettingsOptional | CSpellSettings): PnPSettings;
//# sourceMappingURL=PnPSettings.d.ts.map