UNPKG
browser-extension-url-match
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0
Browser extension URL pattern matching
github.com/lionel-rowe/browser-extension-url-match
browser-extension-url-match
/
dist
/
matchPattern.d.ts
3 lines
(2 loc)
•
189 B
TypeScript
View Raw
1
2
3
import
{
MatchPatternOptions
,
MatcherOrInvalid
}
from
'./types'
;
export
declare
function
matchPattern
(
pattern
:
string
[] |
string
,
options
?:
Partial
<
MatchPatternOptions
>
):
MatcherOrInvalid
;