chore(deps): update dependency typescript to ^5.5.4 (#12964)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: chenjiahan <chenjiahan.jait@bytedance.com>
This commit is contained in:
renovate[bot]
2024-09-08 13:29:44 +00:00
committed by GitHub
parent 746fdb5699
commit 2a645cc1ba
11 changed files with 80 additions and 80 deletions

View File

@@ -82,7 +82,7 @@
"rspack-plugin-virtual-module": "^0.1.13",
"terser": "^5.31.6",
"transliteration": "^2.3.5",
"typescript": "^5.4.5",
"typescript": "^5.5.4",
"vite": "^5.4.3",
"vue-router": "^4.4.3"
}

View File

@@ -19,7 +19,7 @@ function formatArguments(input: string): VueEventArgument[] {
input = formatType(input);
while (input.length > 0) {
if (/(?!_)\w/.test(input[0])) {
const val = input.match(/(\w|\s|\p{P}|\||\[|\]|>|<)+/)![0] || '';
const val = input.match(/(\w|\s|\||\[|\]|>|<)+/)![0] || '';
input = input.substring(val.length);
items.push(val);
} else if (input[0] === '{') {