提交 ed26f4ca 编写于 作者: fxy060608's avatar fxy060608

chore: fix typo

上级 3b0f7ae1
...@@ -79,10 +79,10 @@ function createScopedSlotInvoker(instance: ComponentInternalInstance) { ...@@ -79,10 +79,10 @@ function createScopedSlotInvoker(instance: ComponentInternalInstance) {
return invoker return invoker
} }
const nubmerRE = /^\d+$/ const numberRE = /^\d+$/
function isInteger(str: unknown): str is number { function isInteger(str: unknown): str is number {
return nubmerRE.test(str as string) return numberRE.test(str as string)
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册