Skip to content

Commit

Permalink
fix: gopeed events type
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Oct 19, 2023
1 parent a09f752 commit ba95c10
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "1.2.1",
"version": "1.2.2",
"packageManager": "[email protected]",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-gopeed-ext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-gopeed-ext",
"version": "1.2.1",
"version": "1.2.2",
"keywords": [
"gopeed"
],
Expand Down
4 changes: 2 additions & 2 deletions packages/create-gopeed-ext/templates/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"gopeed": "^1.2.1",
"@gopeed/types": "^1.2.1",
"gopeed": "^1.2.2",
"@gopeed/types": "^1.2.2",
"prettier": "^3.0.3",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/gopeed-rest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gopeed/rest",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"main": "dist/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gopeed-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gopeed/types",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"main": "dist/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gopeed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gopeed",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"main": "dist/index.js",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gopeed/src/event/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ interface OnStartContext {
}

interface Events {
onResolve: (context: OnResovleContext) => void;
onStart: (context: OnStartContext) => void;
onResolve(handler: (ctx: OnResovleContext) => void): void;
onStart(handler: (ctx: OnStartContext) => void): void;
}

export { Events };

0 comments on commit ba95c10

Please sign in to comment.