Skip to content

Commit

Permalink
fix: tsc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AnWeber committed Oct 1, 2023
1 parent ef040f6 commit fbc533b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/documentStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ export class DocumentStore extends utils.DisposeProvider implements IDocumentSto
const config = await getEnvironmentConfig(path);
return await this.httpFileStore.getOrCreate(path, getText, version, {
config,
activeEnvironment: this.activeEnvironment,
});
}

Expand All @@ -199,7 +198,6 @@ export class DocumentStore extends utils.DisposeProvider implements IDocumentSto
}
return await this.httpFileStore.parse(path, text, {
config,
activeEnvironment: this.activeEnvironment,
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/provider/httpCompletionItemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class HttpCompletionItemProvider extends DisposeProvider implements vscod

for (const provider of httpyac.io.completionItemProvider.variableProvider) {
items.push(
...provider(text).map(obj => ({
...provider().map(obj => ({
...obj,
kind: vscode.CompletionItemKind.Function,
}))
Expand Down

0 comments on commit fbc533b

Please sign in to comment.