File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
20
+ import { Dictionary } from '@spec_utils/Dictionary'
21
21
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
22
22
import { Field , Fields } from '@_types/common'
23
23
import { integer } from '@_types/Numeric'
@@ -151,9 +151,7 @@ export class HighlightBase {
151
151
152
152
export class Highlight extends HighlightBase {
153
153
encoder ?: HighlighterEncoder
154
- fields :
155
- | SingleKeyDictionary < Field , HighlightField >
156
- | SingleKeyDictionary < Field , HighlightField > [ ]
154
+ fields : Dictionary < Field , HighlightField >
157
155
}
158
156
159
157
export enum HighlighterEncoder {
Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- import { SingleKeyDictionary } from '@spec_utils/Dictionary'
20
+ import { Dictionary } from '@spec_utils/Dictionary'
21
21
import { float } from '@_types/Numeric'
22
22
import { QueryBase } from './abstractions'
23
23
import { TokenPruningConfig } from './TokenPruningConfig'
@@ -27,7 +27,7 @@ import { TokenPruningConfig } from './TokenPruningConfig'
27
27
*/
28
28
export class WeightedTokensQuery extends QueryBase {
29
29
/** The tokens representing this query */
30
- tokens : SingleKeyDictionary < string , float > [ ]
30
+ tokens : Dictionary < string , float >
31
31
/** Token pruning configurations */
32
32
pruning_config ?: TokenPruningConfig
33
33
}
You can’t perform that action at this time.
0 commit comments