Skip to content

Commit 4a008af

Browse files
chore(deps-dev): bump typed-emitter from 1.4.0 to 2.1.0 (#419)
* chore(deps-dev): bump typed-emitter from 1.4.0 to 2.1.0 Bumps [typed-emitter](https://github.com/andywer/typed-emitter) from 1.4.0 to 2.1.0. - [Release notes](https://github.com/andywer/typed-emitter/releases) - [Commits](andywer/typed-emitter@v1.4.0...v2.1.0) --- updated-dependencies: - dependency-name: typed-emitter dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix type errors --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Masafumi Koba <[email protected]>
1 parent 5a40d97 commit 4a008af

File tree

4 files changed

+55
-13
lines changed

4 files changed

+55
-13
lines changed

package-lock.json

+51-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
"stylelint-scss": "^5.1.0",
253253
"ts-jest": "^27.0.7",
254254
"ts-node": "^10.4.0",
255-
"typed-emitter": "^1.4.0",
255+
"typed-emitter": "^2.1.0",
256256
"typescript": "^4.5.2",
257257
"zen-observable": "^0.8.15"
258258
},

src/extension/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import type vscode from 'vscode';
1515
export function activate({ subscriptions }: vscode.ExtensionContext): PublicApi {
1616
const serverPath = require.resolve('./start-server');
1717

18-
const api: PublicApi = Object.assign(new EventEmitter(), { codeActionReady: false });
18+
const api = Object.assign(new EventEmitter(), { codeActionReady: false }) as PublicApi;
1919

2020
const client = new LanguageClient(
2121
'Stylelint',

src/extension/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import type { DidRegisterDocumentFormattingEditProviderNotificationParams } from
55
/**
66
* VS Code extension event names.
77
*/
8-
export interface ExtensionEvents {
8+
export type ExtensionEvents = {
99
DidRegisterDocumentFormattingEditProvider: (
1010
params: DidRegisterDocumentFormattingEditProviderNotificationParams,
1111
) => void;
1212
DidResetConfiguration: () => void;
13-
}
13+
};
1414

1515
/**
1616
* VS Code extension public API.

0 commit comments

Comments
 (0)