mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
6 lines
255 B
TypeScript
6 lines
255 B
TypeScript
import containsPath = require('contains-path');
|
|
|
|
containsPath('foo/bar', 'foo'); // $ExpectType boolean
|
|
containsPath('foo/bar', 'FOO', { nocase: true }); // $ExpectType boolean
|
|
containsPath('foobar', 'foo', { partialMatch: true }); // $ExpectType boolean
|