mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 02:08:12 +08:00
fix(build): [date-picker] type
prop error in web-types.json (#15376)
This commit is contained in:
parent
838bad208c
commit
f8c2510705
@ -80,7 +80,6 @@ const reAttribute: ReAttribute = (value, key) => {
|
||||
} else if (key === 'Type') {
|
||||
return rewriteType(str)
|
||||
.replaceAll(/\bfunction(\(.*\))?(:\s*\w+)?\b/gi, 'Function')
|
||||
.replaceAll(/\bdate\b/g, 'Date')
|
||||
.replaceAll(/\([^)]*\)(?!\s*=>)/g, '')
|
||||
.replaceAll(/(<[^>]*>|\{[^}]*}|\([^)]*\))/g, (item) => {
|
||||
return item.replaceAll(/(\/|\|)/g, '=_0!')
|
||||
|
Loading…
Reference in New Issue
Block a user