Skip to content

Commit 198d20c

Browse files
committed
style: lodash isfunction refactor
1 parent 54dbc56 commit 198d20c

File tree

3 files changed

+94
-5
lines changed

3 files changed

+94
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"vite-plugin-build": "0.6.0",
6868
"vite-plugin-dts": "^1.4.1",
6969
"vitepress": "1.0.0-alpha.4",
70-
"vitest": "^0.25.3",
70+
"vitest": "0.25.3",
7171
"vue": "^3.2.25",
7272
"vue-tsc": "1.0.9",
7373
"vue-typical": "^2.1.0",
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
import { isFunction } from 'lodash'
2-
1+
function isFunction(value: any) {
2+
return typeof value === 'function'
3+
}
34
export { isFunction }

pnpm-lock.yaml

Lines changed: 90 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)