fix: node config emit options and mantine date types
Deploy Frontend / build-and-deploy (push) Successful in 3m26s Details

This commit is contained in:
romanskijdev 2026-06-18 13:05:38 +03:00
parent b03efa3bb6
commit 6792893a69
2 changed files with 4 additions and 5 deletions

View File

@ -230,7 +230,7 @@ export default function ApprovalsPage() {
label="Дата начала периода"
placeholder="Выберите дату"
value={reportDateFrom}
onChange={setReportDateFrom}
onChange={(val) => setReportDateFrom(val as Date | null)}
clearable
style={{ flex: 1 }}
/>
@ -238,7 +238,7 @@ export default function ApprovalsPage() {
label="Дата окончания периода"
placeholder="Выберите дату"
value={reportDateTo}
onChange={setReportDateTo}
onChange={(val) => setReportDateTo(val as Date | null)}
clearable
minDate={reportDateFrom || undefined}
style={{ flex: 1 }}

View File

@ -7,17 +7,16 @@
"types": ["node"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
/* Исправление ошибок TS6306 и TS6310 */
/* Исправление ошибки TS5096 */
"composite": true,
"noEmit": false,
"emitDeclarationOnly": true,
/* Linting */
"noUnusedLocals": true,
"noUnusedParameters": true,
"erasableSyntaxOnly": true,