Cars project 3 do dokończenia

This commit is contained in:
aplikacje committed 2026-11-05 10:50:57 +01:00
1 parent 3b96ac1be8
commit b3be59a011
159 files changed
+9794 -3786

No files matched your search

+10 -3
View File
@@ -1,5 +1,12 @@
import type { ParseReturnFiltered } from 'minimatch';
import { GLOBSTAR } from 'minimatch';
export type MMPattern = string | RegExp | typeof GLOBSTAR;
/**
* One portion of a parsed minimatch pattern: a string, a Matcher for
* a portion with magic, or GLOBSTAR for `**`.
*/
export type MMPattern = ParseReturnFiltered;
/** The Matcher that minimatch makes for a portion with magic. */
export type MMMatcher = Exclude<MMPattern, string | typeof GLOBSTAR>;
export type PatternList = [p: MMPattern, ...rest: MMPattern[]];
export type UNCPatternList = [
p0: '',
@@ -34,9 +41,9 @@ export declare class Pattern {
*/
isGlobstar(): boolean;
/**
* true if pattern() returns a regexp
* true if pattern() returns a Matcher, for a portion with magic
*/
isRegExp(): boolean;
isMatcher(): boolean;
/**
* The /-joined set of glob parts that make up this pattern
*/