interface IRelativePattern {
    base: string;
    pattern: string;
}

Properties

Properties

base: string

A base file path to which this pattern will be matched against relatively.

pattern: string

A file glob pattern like *.{ts,js} that will be matched on file paths relative to the base path.

Example: Given a base of /home/work/folder and a file path of /home/work/folder/index.js, the file glob pattern will match on index.js.