Sha256: 4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349

Contents?: true

Size: 660 Bytes

Versions: 47

Compression:

Stored size: 660 Bytes

Contents

type AnymatchFn = (testString: string) => boolean;
type AnymatchPattern = string|RegExp|AnymatchFn;
type AnymatchMatcher = AnymatchPattern|AnymatchPattern[]
type AnymatchTester = {
  (testString: string|any[], returnIndex: true): number;
  (testString: string|any[]): boolean;
}

type PicomatchOptions = {dot: boolean};

declare const anymatch: {
  (matchers: AnymatchMatcher): AnymatchTester;
  (matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number;
  (matchers: AnymatchMatcher, testString: string|any[]): boolean;
}

export {AnymatchMatcher as Matcher}
export {AnymatchTester as Tester}
export default anymatch

Version data entries

47 entries across 38 versions & 7 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/sass/node_modules/anymatch/index.d.ts
optimacms-0.1.61 spec/dummy/node_modules/watchpack/node_modules/anymatch/index.d.ts
epuber-stylus-source-0.56.0 vendor/node_modules/anymatch/index.d.ts
appmap-0.72.2 ./node_modules/anymatch/index.d.ts
appmap-0.72.1 ./node_modules/anymatch/index.d.ts
appmap-0.72.0 ./node_modules/anymatch/index.d.ts
appmap-0.71.0 ./node_modules/anymatch/index.d.ts
disco_app-0.16.1 test/dummy/node_modules/sass/node_modules/anymatch/index.d.ts
disco_app-0.16.1 test/dummy/node_modules/watchpack/node_modules/anymatch/index.d.ts
appmap-0.70.2 ./node_modules/anymatch/index.d.ts
appmap-0.70.1 ./node_modules/anymatch/index.d.ts
appmap-0.70.0 ./node_modules/anymatch/index.d.ts
appmap-0.69.0 ./node_modules/anymatch/index.d.ts
appmap-0.68.2 ./node_modules/anymatch/index.d.ts
appmap-0.68.1 ./node_modules/anymatch/index.d.ts
disco_app-0.15.2 test/dummy/node_modules/sass/node_modules/anymatch/index.d.ts
disco_app-0.15.2 test/dummy/node_modules/watchpack/node_modules/anymatch/index.d.ts
appmap-0.68.0 ./node_modules/anymatch/index.d.ts
appmap-0.67.1 ./node_modules/anymatch/index.d.ts
appmap-0.67.0 ./node_modules/anymatch/index.d.ts