From 249df63b13483747bf1381b5ed9f899e3c30bb06 Mon Sep 17 00:00:00 2001 From: Kael Zhang Date: Tue, 17 Sep 2024 19:58:48 +0800 Subject: [PATCH] 6.0.1 --- index.d.ts | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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",