Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzmj committed Oct 7, 2024
1 parent 9c9bf35 commit ab5c0f5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default <Comp foo={foo} />
const Comp = defineComponent(({ foo }) => {
return <>{foo}</>
})

// Will be convert to:
const Comp = defineComponent((_props) => {
return <>{_props.foo}</>
Expand Down
2 changes: 0 additions & 2 deletions playground/src/count.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { defineComponent } from 'vue'

export default {
props: {
value: String,
Expand Down
12 changes: 6 additions & 6 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
catalog:
"@vue/compiler-core": "https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-core@2eae25e"
"@vue/compiler-dom": "https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-dom@2eae25e"
"@vue/compiler-vapor": "https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-vapor@2eae25e"
"@vue/runtime-vapor": "https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-vapor@2eae25e"
"@vue/shared": "https://pkg.pr.new/vuejs/core-vapor/@vue/shared@2eae25e"
"vue": "https://pkg.pr.new/vuejs/core-vapor/vue@2eae25e"
'@vue/compiler-core': 'https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-core@2eae25e'
'@vue/compiler-dom': 'https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-dom@2eae25e'
'@vue/compiler-vapor': 'https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-vapor@2eae25e'
'@vue/runtime-vapor': 'https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-vapor@2eae25e'
'@vue/shared': 'https://pkg.pr.new/vuejs/core-vapor/@vue/shared@2eae25e'
vue: 'https://pkg.pr.new/vuejs/core-vapor/vue@2eae25e'
packages:
- .
- playground
3 changes: 0 additions & 3 deletions src/core/utils.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { isMapCallExpression } from './compiler/utils'
import type {
ArrowFunctionExpression,
ConditionalExpression,
FunctionDeclaration,
FunctionExpression,
JSXElement,
JSXFragment,
LogicalExpression,
Expand Down

0 comments on commit ab5c0f5

Please sign in to comment.