gitea/web_src/js/utils
silverwind f6960096f3
Enable strict TypeScript, add `errorMessage` helper (#37292)
Enable full TypeScript `strict` mode and fix issues discovered during
this refactor. Introduced a `errorMessage` helper function to cleanly
extract a error messages from the `unknown` type.

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (claude-opus-4-7) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-20 07:22:05 +00:00
..
color.test.ts
color.ts Replace `tinycolor2` with `colord` (#36673) 2026-02-20 15:43:01 +00:00
dom.test.ts Update JS dependencies (#37001) 2026-03-27 04:39:24 +01:00
dom.ts Fix Mermaid diagrams failing when node labels contain line breaks (#37296) 2026-04-19 17:39:40 +02:00
glob.test.ts Misc typescript tweaks (#36523) 2026-02-10 05:09:56 +00:00
glob.test.txt
glob.ts
html.test.ts Improve html escape (#34911) 2025-07-01 21:44:05 +08:00
html.ts
image.test.ts Forbid localStorage access in eslint (#36461) 2026-01-27 19:59:51 +00:00
image.ts
match.test.ts Load `mentionValues` asynchronously (#36739) 2026-03-07 12:37:37 -08:00
match.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
testhelper.ts Workflow Artifact Info Hover (#37100) 2026-04-19 07:37:50 +00:00
time.test.ts
time.ts Vendor relative-time-element as local web component (#36853) 2026-03-13 10:43:17 +00:00
url.test.ts Linkify URLs in Actions workflow logs (#36986) 2026-03-26 09:48:09 +00:00
url.ts Linkify URLs in Actions workflow logs (#36986) 2026-03-26 09:48:09 +00:00