Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lzxb committed Oct 26, 2023
1 parent 6121dc1 commit f910791
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 1.4.1

- fix: Type failure

## 1.4.0

- fix: Type failure

## 1.3.9

- fix: Type failure
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-class-setup",
"version": "1.4.0",
"version": "1.4.1",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ export class Context<T extends {} = {}, E extends DefaultEmit = DefaultEmit> {
};

return options as {
setup: () => Omit<InstanceType<T>, '$vm'>;
data: () => Omit<InstanceType<T>, '$vm'>;
setup: () => Omit<InstanceType<T>, `$${any}`>;
data: () => Omit<InstanceType<T>, `$${any}`>;
created(): void;
};
}
Expand Down

0 comments on commit f910791

Please sign in to comment.