mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-04-04 15:49:13 +08:00
Make typing intent clearer
This commit is contained in:
parent
d19ab26a33
commit
9ae73f4ffc
@ -121,6 +121,6 @@ export interface DOM {
|
|||||||
}
|
}
|
||||||
type IconDefinitionOrPack = IconDefinition | IconPack;
|
type IconDefinitionOrPack = IconDefinition | IconPack;
|
||||||
export interface Library {
|
export interface Library {
|
||||||
add(...definitions: IconDefinitionOrPack[] | IconDefinitionOrPack[][]): void;
|
add(...definitions: Array<IconDefinitionOrPack | IconDefinitionOrPack[]>): void;
|
||||||
reset(): void;
|
reset(): void;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user