Skip to content

Commit 23464ad

Browse files
Copilotstipsan
andcommitted
fix: add @types/semver devDependency instead of using @ts-expect-error
Co-authored-by: stipsan <81981+stipsan@users.noreply.github.com>
1 parent 890f1b7 commit 23464ad

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/@repo/bundle-manager/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"@repo/tsconfig": "workspace:*",
3939
"@repo/utils": "workspace:*",
4040
"@types/lodash-es": "^4.17.12",
41+
"@types/semver": "^7.5.8",
4142
"@types/yargs": "^17.0.35",
4243
"eslint": "catalog:",
4344
"vitest": "catalog:"

packages/@repo/bundle-manager/src/helpers/versionUtils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {groupBy, partition, uniqBy} from 'lodash-es'
2-
// @ts-expect-error semver types not available in type checking context
32
import semver from 'semver'
43

54
import {STALE_TAGS_EXPIRY_SECONDS} from '../constants'

0 commit comments

Comments
 (0)