interface IRelativePattern { base: string; pattern: string;}
readonly base: string
A base file path to which this pattern will be matched against relatively.
readonly pattern: string
A file glob pattern like *.{ts,js} that will be matched on file paths relative to the base path.
*.{ts,js}
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.
/home/work/folder
/home/work/folder/index.js
index.js
A base file path to which this pattern will be matched against relatively.