diff --git a/index.d.ts b/index.d.ts index 39f49df..970631e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -54,6 +54,8 @@ export interface Options { */ declare function ignore(options?: Options): Ignore -export function isPathValid (pathname: string): boolean +declare namespace ignore { + export function isPathValid (pathname: string): boolean +} export default ignore diff --git a/package.json b/package.json index 869fc1b..21d2711 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ignore", - "version": "6.0.0", + "version": "6.0.1", "description": "Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.", "main": "index.js", "module": "index.mjs",