File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export const pickInstalledDeps = async <M extends boolean>({
146
146
147
147
const AT_TYPES = '@types/'
148
148
const hasTypesPackage = ( pkg : string , pkgJsonIndex : number ) =>
149
- Object . keys ( packageJsons ! [ pkgJsonIndex ] ! . dependencies ?? { } ) . includes ( pkg . slice ( AT_TYPES . length ) )
149
+ Object . keys ( packageJsons [ pkgJsonIndex ] ! . dependencies ?? { } ) . includes ( pkg . slice ( AT_TYPES . length ) )
150
150
151
151
// TODO produce warning dialog when package a in dev/optional deps and @types /a in deps
152
152
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ export const packageManagerCommand = async (_inputArg: {
179
179
cancellationToken,
180
180
packages,
181
181
reportProgress,
182
- flags : flags as string [ ] ,
182
+ flags,
183
183
} )
184
184
break
185
185
You can’t perform that action at this time.
0 commit comments