mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Fix more type assertions (#230156)
* Fix more type assertions For #211878 * Fix type error
This commit is contained in:
@@ -91,9 +91,11 @@ class NpmScript extends TreeItem {
|
||||
command: 'vscode.open',
|
||||
arguments: [
|
||||
this.taskLocation?.uri,
|
||||
this.taskLocation ? <TextDocumentShowOptions>{
|
||||
selection: new Range(this.taskLocation.range.start, this.taskLocation.range.start)
|
||||
} : undefined
|
||||
this.taskLocation ?
|
||||
{
|
||||
selection: new Range(this.taskLocation.range.start, this.taskLocation.range.start)
|
||||
} satisfies TextDocumentShowOptions
|
||||
: undefined
|
||||
]
|
||||
},
|
||||
'run': {
|
||||
|
||||
Reference in New Issue
Block a user