UNPKG
@yandex/themekit
Version:
canary (1.6.7-canary.3118e00)
latest (2.0.0-alpha.1)
legacy (1.6.8)
2.0.0-alpha.1
2.0.0-alpha.0
1.6.8
1.6.7
1.6.7-canary.3118e00
1.6.6
1.6.5
1.6.5-canary.2
1.6.5-canary.1
1.6.5-canary.0
1.6.4
1.6.3
1.6.3-canary.0f5e17b
1.6.2
1.6.1
1.6.0
1.5.0
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.0
0.0.0-alpha.4
0.0.0-alpha.3
0.0.0-alpha.2
0.0.0-alpha.1
0.0.0-alpha.0
Build system of design-tokens for any platforms
github.com/bem/themekit
bem/themekit
@yandex/themekit
/
lib
/
utils
/
watcher.d.ts
8 lines
(7 loc)
•
250 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
declare
type
Paths
=
string
|
ReadonlyArray
<
string
>;
declare
type
OnChange
=
() =>
void
;
/** * Watches for selected paths and call `onChange` after files changed. */
export
declare
function
watch
(
paths
:
Paths
,
onChange
:
OnChange
):
void
;
export
{};