Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit a34ac0b

Browse files
committed
chore: fix build
1 parent 1c4fe3a commit a34ac0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typescript-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ export class TypeScriptService {
14671467
// Same score for all
14681468
.map(item => [1, navigateToItemToSymbolInformation(item, program, this.root)] as [number, SymbolInformation])
14691469
} else {
1470-
const queryWithoutPackage = query && omit(query, 'package') as SymbolDescriptor
1470+
const queryWithoutPackage = query && omit<Partial<SymbolDescriptor>>(query, 'package')
14711471
// Require at least 2 properties to match (or all if less provided)
14721472
const minScore = Math.min(2, getPropertyCount(query))
14731473
const minScoreWithoutPackage = Math.min(2, getPropertyCount(queryWithoutPackage))

0 commit comments

Comments
 (0)