diff --git a/internal/build/src/tasks/helper.ts b/internal/build/src/tasks/helper.ts index 58b66cf38d..88074e7cc1 100644 --- a/internal/build/src/tasks/helper.ts +++ b/internal/build/src/tasks/helper.ts @@ -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!')