UNPKG
hot-hook
Version:
latest (1.0.0)
next (0.4.1-next.4)
1.0.0
0.4.1-next.4
0.4.1-next.3
0.4.1-next.2
0.4.1-next.1
0.4.1-next.0
0.4.0
0.3.1
0.3.0
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
Easy hot module reloading (HMR) for Node.js and ESM
hot-hook
/
build
/
src
/
matcher.d.ts
10 lines
(9 loc)
•
247 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
picomatch
from
'picomatch'
;
export
declare
class
Matcher
{ #
private
;
constructor
(
rootDirectory
:
string
,
patterns
?: picomatch.
Glob
);
/** * Check if a path matches the patterns */
match
(
filePath
:
string
):
boolean
; }