@opengeoweb/store 16.0.0 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/index.esm.js +543 -246
  2. package/package.json +6 -6
  3. package/src/index.d.ts +0 -1
  4. package/src/store/common/auth/index.d.ts +0 -3
  5. package/src/store/common/auth/reducer.d.ts +0 -14
  6. package/src/store/common/auth/reducer.spec.d.ts +0 -1
  7. package/src/store/common/auth/selectors.d.ts +0 -87
  8. package/src/store/common/auth/selectors.spec.d.ts +0 -1
  9. package/src/store/common/auth/types.d.ts +0 -22
  10. package/src/store/common/index.d.ts +0 -81
  11. package/src/store/common/listener.d.ts +0 -2
  12. package/src/store/common/types.d.ts +0 -6
  13. package/src/store/drawingTool/index.d.ts +0 -4
  14. package/src/store/drawingTool/listener.d.ts +0 -3
  15. package/src/store/drawingTool/listener.spec.d.ts +0 -1
  16. package/src/store/drawingTool/reducer.d.ts +0 -45
  17. package/src/store/drawingTool/reducer.spec.d.ts +0 -4
  18. package/src/store/drawingTool/selectors.d.ts +0 -347
  19. package/src/store/drawingTool/selectors.spec.d.ts +0 -1
  20. package/src/store/drawingTool/testUtils.d.ts +0 -1
  21. package/src/store/drawingTool/utils.d.ts +0 -1
  22. package/src/store/drawingTool/utils.spec.d.ts +0 -1
  23. package/src/store/generic/actions.d.ts +0 -28
  24. package/src/store/generic/hooks.d.ts +0 -2
  25. package/src/store/generic/index.d.ts +0 -26
  26. package/src/store/generic/linking/constants.d.ts +0 -6
  27. package/src/store/generic/linking/index.d.ts +0 -1
  28. package/src/store/generic/listener.d.ts +0 -2
  29. package/src/store/generic/listener.spec.d.ts +0 -1
  30. package/src/store/generic/loadingIndicator/constants.d.ts +0 -1
  31. package/src/store/generic/loadingIndicator/index.d.ts +0 -3
  32. package/src/store/generic/loadingIndicator/reducer.d.ts +0 -13
  33. package/src/store/generic/loadingIndicator/reducer.spec.d.ts +0 -1
  34. package/src/store/generic/loadingIndicator/selectors.d.ts +0 -337
  35. package/src/store/generic/loadingIndicator/selectors.spec.d.ts +0 -1
  36. package/src/store/generic/loadingIndicator/types.d.ts +0 -22
  37. package/src/store/generic/selectors.d.ts +0 -410
  38. package/src/store/generic/selectors.spec.d.ts +0 -1
  39. package/src/store/generic/syncGroups/__mocks__/mockState.d.ts +0 -2
  40. package/src/store/generic/syncGroups/constants.d.ts +0 -4
  41. package/src/store/generic/syncGroups/hooks.d.ts +0 -16
  42. package/src/store/generic/syncGroups/hooks.spec.d.ts +0 -1
  43. package/src/store/generic/syncGroups/index.d.ts +0 -11
  44. package/src/store/generic/syncGroups/listener.d.ts +0 -2
  45. package/src/store/generic/syncGroups/listener.spec.d.ts +0 -1
  46. package/src/store/generic/syncGroups/reducer.d.ts +0 -60
  47. package/src/store/generic/syncGroups/reducer.spec.d.ts +0 -1
  48. package/src/store/generic/syncGroups/selector.d.ts +0 -45
  49. package/src/store/generic/syncGroups/selector.spec.d.ts +0 -1
  50. package/src/store/generic/syncGroups/selectors.d.ts +0 -235
  51. package/src/store/generic/syncGroups/selectors.spec.d.ts +0 -1
  52. package/src/store/generic/syncGroups/syncSourceDisplayName.d.ts +0 -2
  53. package/src/store/generic/syncGroups/types.d.ts +0 -171
  54. package/src/store/generic/syncGroups/utils.d.ts +0 -76
  55. package/src/store/generic/syncGroups/utils.spec.d.ts +0 -1
  56. package/src/store/generic/synchronizationActions/actions.d.ts +0 -11
  57. package/src/store/generic/synchronizationActions/types.d.ts +0 -43
  58. package/src/store/generic/types.d.ts +0 -24
  59. package/src/store/generic/utils.d.ts +0 -9
  60. package/src/store/generic/utils.spec.d.ts +0 -1
  61. package/src/store/index.d.ts +0 -22
  62. package/src/store/map/index.d.ts +0 -5
  63. package/src/store/map/layer/index.d.ts +0 -5
  64. package/src/store/map/layer/listeners.d.ts +0 -2
  65. package/src/store/map/layer/listeners.spec.d.ts +0 -1
  66. package/src/store/map/layer/reducer.d.ts +0 -90
  67. package/src/store/map/layer/reducer.spec.d.ts +0 -1
  68. package/src/store/map/layer/selectors.d.ts +0 -2547
  69. package/src/store/map/layer/selectors.spec.d.ts +0 -1
  70. package/src/store/map/layer/types.d.ts +0 -179
  71. package/src/store/map/layer/utils.d.ts +0 -33
  72. package/src/store/map/layer/utils.spec.d.ts +0 -1
  73. package/src/store/map/map/actions.d.ts +0 -9
  74. package/src/store/map/map/constants.d.ts +0 -3
  75. package/src/store/map/map/enums.d.ts +0 -3
  76. package/src/store/map/map/filterLayers.d.ts +0 -10
  77. package/src/store/map/map/filterLayers.spec.d.ts +0 -1
  78. package/src/store/map/map/index.d.ts +0 -26
  79. package/src/store/map/map/listener.d.ts +0 -4
  80. package/src/store/map/map/listener.spec.d.ts +0 -1
  81. package/src/store/map/map/mapListenerAnimationUtils.d.ts +0 -28
  82. package/src/store/map/map/mapListenerAnimationUtils.spec.d.ts +0 -1
  83. package/src/store/map/map/metronomeListener.d.ts +0 -2
  84. package/src/store/map/map/olMapListenerAnimationUtils.d.ts +0 -46
  85. package/src/store/map/map/olMapListenerAnimationUtils.spec.d.ts +0 -1
  86. package/src/store/map/map/reducer.d.ts +0 -142
  87. package/src/store/map/map/reducer.spec.d.ts +0 -1
  88. package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +0 -7
  89. package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +0 -1
  90. package/src/store/map/map/selectors.d.ts +0 -3582
  91. package/src/store/map/map/selectors.spec.d.ts +0 -1
  92. package/src/store/map/map/types.d.ts +0 -329
  93. package/src/store/map/map/utils.d.ts +0 -87
  94. package/src/store/map/map/utils.spec.d.ts +0 -1
  95. package/src/store/map/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -2
  96. package/src/store/map/service/index.d.ts +0 -4
  97. package/src/store/map/service/listener.d.ts +0 -5
  98. package/src/store/map/service/listener.spec.d.ts +0 -1
  99. package/src/store/map/service/localStorage.d.ts +0 -3
  100. package/src/store/map/service/localStorage.spec.d.ts +0 -1
  101. package/src/store/map/service/reducer.d.ts +0 -10
  102. package/src/store/map/service/reducer.spec.d.ts +0 -1
  103. package/src/store/map/service/selectors.d.ts +0 -386
  104. package/src/store/map/service/selectors.spec.d.ts +0 -1
  105. package/src/store/map/service/types.d.ts +0 -52
  106. package/src/store/map/storeTestSettings.d.ts +0 -8
  107. package/src/store/map/storeTestUtils.d.ts +0 -18
  108. package/src/store/map/types.d.ts +0 -11
  109. package/src/store/mapStore/openlayers/listener.d.ts +0 -2
  110. package/src/store/mapStore/openlayers/listener.spec.d.ts +0 -1
  111. package/src/store/mapStore/openlayers/syncGroupViewStore.d.ts +0 -26
  112. package/src/store/router/index.d.ts +0 -2
  113. package/src/store/router/listener.d.ts +0 -2
  114. package/src/store/router/listener.spec.d.ts +0 -1
  115. package/src/store/router/reducer.d.ts +0 -9
  116. package/src/store/router/reducer.spec.d.ts +0 -1
  117. package/src/store/router/types.d.ts +0 -9
  118. package/src/store/router/utils.d.ts +0 -4
  119. package/src/store/store.d.ts +0 -37
  120. package/src/store/types.d.ts +0 -7
  121. package/src/store/ui/index.d.ts +0 -5
  122. package/src/store/ui/reducer.d.ts +0 -39
  123. package/src/store/ui/reducer.spec.d.ts +0 -1
  124. package/src/store/ui/selectors.d.ts +0 -234
  125. package/src/store/ui/selectors.spec.d.ts +0 -1
  126. package/src/store/ui/types.d.ts +0 -87
  127. package/src/store/ui/useSetupDialog.d.ts +0 -11
  128. package/src/store/ui/useSetupDialog.spec.d.ts +0 -1
  129. package/src/store/unifyReducerMaps.d.ts +0 -3
  130. package/src/store/unifyReducermaps.spec.d.ts +0 -1
  131. package/src/store/utils.d.ts +0 -6
@@ -1 +0,0 @@
1
- export {};
@@ -1,234 +0,0 @@
1
- import type { TypedUseSelectorHook } from 'react-redux';
2
- import type { CoreAppStore } from '../types';
3
- import type { DialogType, UIModuleState, UIStoreType, UIType } from './types';
4
- export declare const useAppSelector: TypedUseSelectorHook<CoreAppStore>;
5
- export declare const getUiStore: (store: UIModuleState) => UIStoreType;
6
- /**
7
- * Gets the active map Id and wether a dialog is open or closed
8
- *
9
- * Example: getDialogDetailsByType(store, 'legend')
10
- * @param {object} store store object from which the ui state wll be extracted
11
- * @param {string} dialogType type of the dialog
12
- * @returns {array} [string, boolean] first element gives the active map id, second element whether the dialog is open
13
- */
14
- export declare const getDialogDetailsByType: (store: UIModuleState, dialogType: string) => UIType;
15
- /**
16
- * For a given ui component: gets wether the dialog is open or closed
17
- *
18
- * @param {object} store store object from which the ui state wll be extracted
19
- * @param {string} dialogType type of the dialog
20
- * @returns {boolean} returnType: boolean
21
- */
22
- export declare const getisDialogOpen: ((state: UIModuleState, dialogType: string) => boolean) & {
23
- clearCache: () => void;
24
- resultsCount: () => number;
25
- resetResultsCount: () => void;
26
- } & {
27
- resultFunc: (resultFuncArgs_0: UIType) => boolean;
28
- memoizedResultFunc: ((resultFuncArgs_0: UIType) => boolean) & {
29
- clearCache: () => void;
30
- resultsCount: () => number;
31
- resetResultsCount: () => void;
32
- };
33
- lastResult: () => boolean;
34
- dependencies: [(store: UIModuleState, dialogType: string) => UIType];
35
- recomputations: () => number;
36
- resetRecomputations: () => void;
37
- dependencyRecomputations: () => number;
38
- resetDependencyRecomputations: () => void;
39
- } & {
40
- memoize: typeof import("reselect").weakMapMemoize;
41
- argsMemoize: typeof import("reselect").weakMapMemoize;
42
- };
43
- /**
44
- *For a given ui component: gets the active map Id
45
- *
46
- * @param {object} store store object from which the ui state wll be extracted
47
- * @param {string} dialogType type of the dialog
48
- * @returns {string} returnType: string - the active map id
49
- */
50
- export declare const getDialogMapId: ((state: UIModuleState, dialogType: string) => string) & {
51
- clearCache: () => void;
52
- resultsCount: () => number;
53
- resetResultsCount: () => void;
54
- } & {
55
- resultFunc: (resultFuncArgs_0: UIType) => string;
56
- memoizedResultFunc: ((resultFuncArgs_0: UIType) => string) & {
57
- clearCache: () => void;
58
- resultsCount: () => number;
59
- resetResultsCount: () => void;
60
- };
61
- lastResult: () => string;
62
- dependencies: [(store: UIModuleState, dialogType: string) => UIType];
63
- recomputations: () => number;
64
- resetRecomputations: () => void;
65
- dependencyRecomputations: () => number;
66
- resetDependencyRecomputations: () => void;
67
- } & {
68
- memoize: typeof import("reselect").weakMapMemoize;
69
- argsMemoize: typeof import("reselect").weakMapMemoize;
70
- };
71
- /**
72
- *For a given ui component: gets the order of visible dialog
73
- *
74
- * @param {object} store store object from which the ui state wll be extracted
75
- * @param {DialogType} dialogType type of the dialog
76
- * @returns {number} the higher the order number the higher the zIndex
77
- */
78
- export declare const getDialogOrder: (store: UIModuleState, dialogType: DialogType) => number;
79
- /**
80
- *For a given ui component: returns if ordered on top
81
- *
82
- * @param {object} store store object from which the ui state wll be extracted
83
- * @param {DialogType} dialogType type of the dialog
84
- * @returns {boolean}
85
- */
86
- export declare const getDialogIsOrderedOnTop: (store: UIModuleState, dialogType: DialogType) => boolean;
87
- export declare const getDialogSource: ((state: UIModuleState, dialogType: string) => import("dist/libs/shared/src/lib/components/ToolContainer/ToolContainerDraggable").Source) & {
88
- clearCache: () => void;
89
- resultsCount: () => number;
90
- resetResultsCount: () => void;
91
- } & {
92
- resultFunc: (resultFuncArgs_0: UIType) => import("dist/libs/shared/src/lib/components/ToolContainer/ToolContainerDraggable").Source;
93
- memoizedResultFunc: ((resultFuncArgs_0: UIType) => import("dist/libs/shared/src/lib/components/ToolContainer/ToolContainerDraggable").Source) & {
94
- clearCache: () => void;
95
- resultsCount: () => number;
96
- resetResultsCount: () => void;
97
- };
98
- lastResult: () => import("dist/libs/shared/src/lib/components/ToolContainer/ToolContainerDraggable").Source;
99
- dependencies: [(store: UIModuleState, dialogType: string) => UIType];
100
- recomputations: () => number;
101
- resetRecomputations: () => void;
102
- dependencyRecomputations: () => number;
103
- resetDependencyRecomputations: () => void;
104
- } & {
105
- memoize: typeof import("reselect").weakMapMemoize;
106
- argsMemoize: typeof import("reselect").weakMapMemoize;
107
- };
108
- /**
109
- * Get the active window that should receive keyboard shortcuts
110
- *
111
- * Example: getActiveWindowId(store)
112
- * @param {object} store store object from which the window state will be extracted
113
- * @returns {string} active window id
114
- */
115
- export declare const getActiveWindowId: ((state: UIModuleState) => string) & {
116
- clearCache: () => void;
117
- resultsCount: () => number;
118
- resetResultsCount: () => void;
119
- } & {
120
- resultFunc: (resultFuncArgs_0: UIStoreType) => string;
121
- memoizedResultFunc: ((resultFuncArgs_0: UIStoreType) => string) & {
122
- clearCache: () => void;
123
- resultsCount: () => number;
124
- resetResultsCount: () => void;
125
- };
126
- lastResult: () => string;
127
- dependencies: [(store: UIModuleState) => UIStoreType];
128
- recomputations: () => number;
129
- resetRecomputations: () => void;
130
- dependencyRecomputations: () => number;
131
- resetDependencyRecomputations: () => void;
132
- } & {
133
- memoize: typeof import("reselect").weakMapMemoize;
134
- argsMemoize: typeof import("reselect").weakMapMemoize;
135
- };
136
- /**
137
- * Gets the panelId of which the dialog is opened from
138
- *
139
- * Example: getSourcePanelId(store, 'publicWarnings')
140
- * @param {object} store store object from which the panelId state will be extracted
141
- * @returns {string} the dialog type
142
- */
143
- export declare const getSourcePanelId: ((state: UIModuleState, dialogType: string) => string) & {
144
- clearCache: () => void;
145
- resultsCount: () => number;
146
- resetResultsCount: () => void;
147
- } & {
148
- resultFunc: (resultFuncArgs_0: UIType | undefined) => string;
149
- memoizedResultFunc: ((resultFuncArgs_0: UIType | undefined) => string) & {
150
- clearCache: () => void;
151
- resultsCount: () => number;
152
- resetResultsCount: () => void;
153
- };
154
- lastResult: () => string;
155
- dependencies: [(store: UIModuleState, dialogType: DialogType) => UIType | undefined];
156
- recomputations: () => number;
157
- resetRecomputations: () => void;
158
- dependencyRecomputations: () => number;
159
- resetDependencyRecomputations: () => void;
160
- } & {
161
- memoize: typeof import("reselect").weakMapMemoize;
162
- argsMemoize: typeof import("reselect").weakMapMemoize;
163
- };
164
- /**
165
- * Gets if this is the active window
166
- *
167
- * Example: getIsActiveWindowId(store, viewId)
168
- * @param {object} store store object from which the window state will be extracted
169
- * @returns {string} active window id
170
- */
171
- export declare const getIsActiveWindowId: ((state: UIModuleState, viewId: string) => boolean) & {
172
- clearCache: () => void;
173
- resultsCount: () => number;
174
- resetResultsCount: () => void;
175
- } & {
176
- resultFunc: (resultFuncArgs_0: UIStoreType, resultFuncArgs_1: string) => boolean;
177
- memoizedResultFunc: ((resultFuncArgs_0: UIStoreType, resultFuncArgs_1: string) => boolean) & {
178
- clearCache: () => void;
179
- resultsCount: () => number;
180
- resetResultsCount: () => void;
181
- };
182
- lastResult: () => boolean;
183
- dependencies: [(store: UIModuleState) => UIStoreType, (_store: UIModuleState, viewId: string) => string];
184
- recomputations: () => number;
185
- resetRecomputations: () => void;
186
- dependencyRecomputations: () => number;
187
- resetDependencyRecomputations: () => void;
188
- } & {
189
- memoize: typeof import("reselect").weakMapMemoize;
190
- argsMemoize: typeof import("reselect").weakMapMemoize;
191
- };
192
- export declare const getDialogIsLoading: ((state: UIModuleState, dialogType: string) => boolean) & {
193
- clearCache: () => void;
194
- resultsCount: () => number;
195
- resetResultsCount: () => void;
196
- } & {
197
- resultFunc: (resultFuncArgs_0: UIType) => boolean;
198
- memoizedResultFunc: ((resultFuncArgs_0: UIType) => boolean) & {
199
- clearCache: () => void;
200
- resultsCount: () => number;
201
- resetResultsCount: () => void;
202
- };
203
- lastResult: () => boolean;
204
- dependencies: [(store: UIModuleState, dialogType: string) => UIType];
205
- recomputations: () => number;
206
- resetRecomputations: () => void;
207
- dependencyRecomputations: () => number;
208
- resetDependencyRecomputations: () => void;
209
- } & {
210
- memoize: typeof import("reselect").weakMapMemoize;
211
- argsMemoize: typeof import("reselect").weakMapMemoize;
212
- };
213
- export declare const getDialogError: ((state: UIModuleState, dialogType: string) => string) & {
214
- clearCache: () => void;
215
- resultsCount: () => number;
216
- resetResultsCount: () => void;
217
- } & {
218
- resultFunc: (resultFuncArgs_0: UIType) => string;
219
- memoizedResultFunc: ((resultFuncArgs_0: UIType) => string) & {
220
- clearCache: () => void;
221
- resultsCount: () => number;
222
- resetResultsCount: () => void;
223
- };
224
- lastResult: () => string;
225
- dependencies: [(store: UIModuleState, dialogType: string) => UIType];
226
- recomputations: () => number;
227
- resetRecomputations: () => void;
228
- dependencyRecomputations: () => number;
229
- resetDependencyRecomputations: () => void;
230
- } & {
231
- memoize: typeof import("reselect").weakMapMemoize;
232
- argsMemoize: typeof import("reselect").weakMapMemoize;
233
- };
234
- export declare const getUiDialogsByActiveMapId: (store: UIModuleState, mapId: string) => UIType[];
@@ -1 +0,0 @@
1
- export {};
@@ -1,87 +0,0 @@
1
- import type { Source } from '@opengeoweb/shared';
2
- type LegendDialogType = string;
3
- export declare enum DialogTypes {
4
- LayerInfo = "layerInfo",
5
- SyncGroups = "syncGroups",
6
- TimeSeriesSelect = "timeSeriesSelect",
7
- TimeSeriesManager = "timeSeriesManager",
8
- TimeSeriesInfo = "timeSeriesInfo",
9
- TimeSeriesLocationInfo = "timeSeriesLocationInfo",
10
- KeywordFilter = "keywordFilter",
11
- DimensionSelectEnsembleMember = "dimensionSelect-ensemble_member",
12
- DimensionSelectElevation = "dimensionSelect-elevation",
13
- LayerManager = "layerManager",
14
- LayerSelect = "layerSelect",
15
- DrawingTool = "drawingTool",
16
- DockedLayerManager = "dockedLayerManager",
17
- ObjectManager = "objectManager",
18
- PublicWarnings = "publicWarnings",
19
- Search = "search",
20
- AreaObjectLoader = "areaObjectLoader",
21
- DataExplorer = "dataExplorer",
22
- DataExplorerInfo = "dataExplorerInfo",
23
- SelectedFeatures = "selectedFeatures",
24
- SoundingsSources = "soundingsSources",
25
- SoundingsLocations = "soundingsLocations",
26
- SoundingsManager = "soundingsManager",
27
- TimeseriesLocations = "timeseriesLocations"
28
- }
29
- export type DialogType = DialogTypes | LegendDialogType;
30
- export type { Source };
31
- export interface UIType {
32
- type: DialogType;
33
- activeMapId: string;
34
- isOpen: boolean;
35
- source?: Source;
36
- isLoading?: boolean;
37
- error?: string;
38
- sourcePanelId?: string;
39
- }
40
- export interface UIStoreType {
41
- order: DialogType[];
42
- dialogs: Partial<Record<DialogType, UIType>>;
43
- activeWindowId?: string;
44
- }
45
- export interface UIModuleState {
46
- ui?: UIStoreType;
47
- }
48
- export interface SetActiveMapIdForDialogPayload {
49
- type: DialogType;
50
- mapId: string;
51
- setOpen?: boolean;
52
- source?: Source;
53
- origin?: string;
54
- }
55
- export interface UIRegisterDialogPayload {
56
- type: DialogType;
57
- mapId?: string;
58
- setOpen?: boolean;
59
- source?: Source;
60
- }
61
- export interface UIUnRegisterDialogPayload {
62
- type: DialogType;
63
- }
64
- export interface UIToggleDialogPayload {
65
- type: DialogType;
66
- setOpen: boolean;
67
- origin?: string;
68
- mapId?: string;
69
- sourcePanelId?: string;
70
- }
71
- export interface UIOrderDialogPayload {
72
- type: DialogType;
73
- }
74
- export interface SetActiveWindowIdPayload {
75
- activeWindowId: string;
76
- }
77
- export interface UIToggleIsLoadingPayload {
78
- type: DialogType;
79
- isLoading: boolean;
80
- }
81
- export interface UISetErrorPayload {
82
- type: DialogType;
83
- error: string;
84
- }
85
- export interface UIToggleShowSentryRecordButton {
86
- type: DialogType;
87
- }
@@ -1,11 +0,0 @@
1
- import type { uiTypes } from '.';
2
- export interface SetupDialogReturnValue {
3
- setDialogOrder: () => void;
4
- dialogOrder: number;
5
- onCloseDialog: () => void;
6
- uiSource: uiTypes.Source;
7
- isDialogOpen: boolean;
8
- uiIsLoading: boolean;
9
- uiError: string;
10
- }
11
- export declare const useSetupDialog: (dialogType: uiTypes.DialogType, source?: uiTypes.Source) => SetupDialogReturnValue;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import type { Action, Reducer } from '@reduxjs/toolkit';
2
- export type ReducerMap = Record<string, Reducer<any, Action<string>>>;
3
- export declare const unifyReducerMaps: (reducerMaps: ReducerMap[]) => ReducerMap;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- export declare const selectorMemoizationOptions: {
2
- memoizeOptions: {
3
- maxSize: number;
4
- resultEqualityCheck: (value: any, other: any) => boolean;
5
- };
6
- };