Skip to content

Commit

Permalink
Merge pull request #19 from narumincho/dev
Browse files Browse the repository at this point in the history
update 1.89.0
  • Loading branch information
narumincho authored May 3, 2024
2 parents 34df440 + 707e75f commit 2de3bb4
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/vscode/inde
esbuild or something similar should be used. ( https://deno.land/x/esbuild )

```ts
import { ExtensionContext, importVsCodeApi } from "jsr:@narumincho/vscode";
import { type ExtensionContext, importVsCodeApi } from "jsr:@narumincho/vscode";

export function activate(context: ExtensionContext) {
const vscode = importVsCodeApi();
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@narumincho/vscode",
"version": "1.88.0",
"version": "1.89.0",
"exports": "./mod.ts"
}
2 changes: 1 addition & 1 deletion example/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ExtensionContext, importVsCodeApi } from "../mod.ts";
import { type ExtensionContext, importVsCodeApi } from "../mod.ts";

export function activate(context: ExtensionContext) {
const vscode = importVsCodeApi();
Expand Down
12 changes: 6 additions & 6 deletions gen/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2021"

[dependencies]
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
anyhow = "1.0.81"
anyhow = "1.0.82"
reqwest = "0.11.27"
thiserror = "1.0.58"
thiserror = "1.0.59"
swc_atoms = "0.5.9"
swc_common = "0.31.22"
swc_ecma_parser = "0.137.16"
Expand Down
8 changes: 6 additions & 2 deletions gen/out.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ Returns VSCodeApi only within the vscode extension.
* Represents the current window's state.
*/ readonly state: WindowState;
/**
* An {@link Event} which fires when the focus state of the current window
* An {@link Event} which fires when the focus or activity state of the current window
* changes. The value of the event represents whether the window is focused.
*/ readonly onDidChangeWindowState: Event<WindowState>;
/**
Expand Down Expand Up @@ -6369,7 +6369,7 @@ type ValueOf<T> = T[keyof T];
/**
* Checks if this code action kind intersects `other`.
*
* The kind `"refactor.extract"` for example intersects `refactor`, `"refactor.extract"` and ``"refactor.extract.function"`,
* The kind `"refactor.extract"` for example intersects `refactor`, `"refactor.extract"` and `"refactor.extract.function"`,
* but not `"unicorn.refactor.extract"`, or `"refactor.extractAll"`.
*
* @param other Kind to check.
Expand Down Expand Up @@ -11061,6 +11061,10 @@ type ValueOf<T> = T[keyof T];
/**
* Whether the current window is focused.
*/ readonly focused: boolean;
/**
* Whether the window has been interacted with recently. This will change
* immediately on activity, or after a short time of user inactivity.
*/ readonly active: boolean;
}
/**
* A uri handler is responsible for handling system-wide {@link Uri uris}.
Expand Down
8 changes: 6 additions & 2 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,7 @@ Returns VSCodeApi only within the vscode extension.
* Represents the current window's state.
*/ readonly state: WindowState;
/**
* An {@link Event} which fires when the focus state of the current window
* An {@link Event} which fires when the focus or activity state of the current window
* changes. The value of the event represents whether the window is focused.
*/ readonly onDidChangeWindowState: Event<WindowState>;
/**
Expand Down Expand Up @@ -7009,7 +7009,7 @@ type ValueOf<T> = T[keyof T];
/**
* Checks if this code action kind intersects `other`.
*
* The kind `"refactor.extract"` for example intersects `refactor`, `"refactor.extract"` and ``"refactor.extract.function"`,
* The kind `"refactor.extract"` for example intersects `refactor`, `"refactor.extract"` and `"refactor.extract.function"`,
* but not `"unicorn.refactor.extract"`, or `"refactor.extractAll"`.
*
* @param other Kind to check.
Expand Down Expand Up @@ -12010,6 +12010,10 @@ type ValueOf<T> = T[keyof T];
/**
* Whether the current window is focused.
*/ readonly focused: boolean;
/**
* Whether the window has been interacted with recently. This will change
* immediately on activity, or after a short time of user inactivity.
*/ readonly active: boolean;
}
/**
* A uri handler is responsible for handling system-wide {@link Uri uris}.
Expand Down

0 comments on commit 2de3bb4

Please sign in to comment.