Skip to content

Commit cd8b3f5

Browse files
committed
Fix typo
1 parent f0114e5 commit cd8b3f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/types/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export interface Feature extends Record<string, any> {
108108
} | null;
109109
}
110110

111-
export type Facet = RangeFacet | OptionFacet | HierarchialOptionFacet;
111+
export type Facet = RangeFacet | OptionFacet | HierarchicalOptionFacet;
112112

113113
export type BrowseFacet = Pick<Facet, keyof BaseFacet | 'type'>;
114114

@@ -131,8 +131,8 @@ export interface OptionFacet extends BaseFacet, Record<string, any> {
131131
type: 'multiple' | 'single';
132132
}
133133

134-
export interface HierarchialOptionFacet extends BaseFacet, Record<string, any> {
135-
options: HierarchialFacetOption[];
134+
export interface HierarchicalOptionFacet extends BaseFacet, Record<string, any> {
135+
options: HierarchicalFacetOption[];
136136
type: 'hierarchical';
137137
}
138138

@@ -145,8 +145,8 @@ export interface FacetOption extends Record<string, any> {
145145
data: Record<string, any>;
146146
}
147147

148-
export interface HierarchialFacetOption extends FacetOption {
149-
options?: HierarchialFacetOption[];
148+
export interface HierarchicalFacetOption extends FacetOption {
149+
options?: HierarchicalFacetOption[];
150150
}
151151

152152
export type RangeMin = '-inf' | number;

0 commit comments

Comments
 (0)