Skip to content

Commit ddec159

Browse files
committed
update reference to constants
1 parent de5d149 commit ddec159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/util/model-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { models, Model } from '../old-constants'
1+
import type { Model } from '../old-constants'
22

33
// Cache the explicitly defined models for O(1) lookup performance
44
// Cast to string[] to avoid TypeScript union type issues with (string & {})
@@ -8,7 +8,7 @@ function getExplicitlyDefinedModels(): Set<string> {
88
if (explicitlyDefinedModels === null) {
99
// Dynamically import to avoid circular dependency issues
1010
// eslint-disable-next-line @typescript-eslint/no-var-requires
11-
const { models } = require('../constants')
11+
const { models } = require('../old-constants')
1212
explicitlyDefinedModels = new Set(Object.values(models) as string[])
1313
}
1414
return explicitlyDefinedModels

0 commit comments

Comments
 (0)