ryu1kn/vscode-partial-diff

View on GitHub
src/lib/types/normalisation-rule.ts

Summary

Maintainability
A
0 mins
Test Coverage

export type SavedNormalisationRule = {
    name?: string;
    match: string;
    replaceWith: string | {letterCase: 'upper' | 'lower'};
    enableOnStart?: boolean;
};

export interface LoadedNormalisationRule extends Exclude<SavedNormalisationRule, 'enableOnStart'> {
    active: boolean;
}