From b9b5bb43655842ccff974ae8da41b1c120c71a23 Mon Sep 17 00:00:00 2001 From: Joyce Er Date: Fri, 24 May 2024 17:35:09 -0700 Subject: [PATCH] fix: import `vscode.Location` (#37) --- package-lock.json | 4 ++-- package.json | 2 +- src/base/vscodeTypes.d.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index a3b4e24..7f00424 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@vscode/prompt-tsx", - "version": "0.1.9-alpha", + "version": "0.1.11-alpha", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@vscode/prompt-tsx", - "version": "0.1.9-alpha", + "version": "0.1.11-alpha", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@microsoft/tiktokenizer": "^1.0.6" diff --git a/package.json b/package.json index b234445..9ee712f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vscode/prompt-tsx", - "version": "0.1.10-alpha", + "version": "0.1.11-alpha", "description": "Declare LLM prompts with TSX", "main": "./dist/base/index.js", "types": "./dist/base/index.d.ts", diff --git a/src/base/vscodeTypes.d.ts b/src/base/vscodeTypes.d.ts index 5a8e4ac..30c7fa1 100644 --- a/src/base/vscodeTypes.d.ts +++ b/src/base/vscodeTypes.d.ts @@ -2,7 +2,7 @@ * Copyright (c) Microsoft Corporation and GitHub. All rights reserved. *--------------------------------------------------------------------------------------------*/ -import type { Command, MarkdownString, Range, ThemeIcon, Uri } from 'vscode'; +import type { Command, Location, MarkdownString, Range, ThemeIcon, Uri } from 'vscode'; /** * Represents a part of a chat response that is formatted as Markdown.