DefinitelyTyped/types/picomatch/picomatch-tests.ts
Patrick a29e36d95b
[picomatch] Add basic types. (#44221)
* [picomatch] Add basic types.

* [picomatch] Fix some lint issues.

* Update github link for definition author.
2020-04-27 13:09:16 -04:00

5 lines
83 B
TypeScript

import pm = require('picomatch');
// main function
const isMatch = pm('*.!(*a)');