@@ -5,29 +5,29 @@ type StyleObject = {
5
5
6
6
type UniqueSpace = symbol | string ;
7
7
8
- type Computed = ( dependencies : Array < any > ) => StyleObject ;
8
+ type Computed = ( dependencies ? : Array < any > ) => StyleObject ;
9
9
10
10
type TagStyles = ( strings : string [ ] , expressions : string [ ] ) => StyleObject ;
11
11
12
12
type UseStyles = {
13
- ( ) : ( dependencies : Array < any > ) => TagStyles ;
13
+ ( ) : ( dependencies ? : Array < any > ) => TagStyles ;
14
14
namespace : UniqueSpace ;
15
15
} ;
16
16
17
17
export function useGlobalStyles (
18
- namespace : UniqueSpace ,
19
- dependencies : Array < any > ,
18
+ namespace ? : UniqueSpace ,
19
+ dependencies ? : Array < any > ,
20
20
) : TagStyles ;
21
21
22
- export function GlobalUse ( rawStyle : string , namespace : UniqueSpace ) : Computed ;
22
+ export function GlobalUse ( rawStyle : string , namespace ? : UniqueSpace ) : Computed ;
23
23
24
- export function GlobalStyles ( definition : StyleObject , namespace : UniqueSpace ) : void ;
24
+ export function GlobalStyles ( definition : StyleObject , namespace ? : UniqueSpace ) : void ;
25
25
26
26
export function Styles (
27
27
definition : StyleObject ,
28
- namespace : UniqueSpace ,
28
+ namespace ? : UniqueSpace ,
29
29
) : UseStyles ;
30
30
31
- export function getConstant ( name : string , namespace : UseStyles | UniqueSpace ) : any ;
31
+ export function getConstant ( name : string , namespace ? : UseStyles | UniqueSpace ) : any ;
32
32
33
33
export function setSeparator ( newSeparator : string ) : void ;
0 commit comments