1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 01:57:20 +00:00

Update TypeScript types (#33799)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Kerwin Bryant
2025-03-06 00:03:44 +08:00
committed by GitHub
parent 95efc7b35b
commit f0f10413ae
3 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ window.addEventListener('load', async () => {
return 0;
});
const ui = SwaggerUI({
SwaggerUI({
spec,
dom_id: '#swagger-ui',
deepLinking: true,
@ -27,6 +27,4 @@ window.addEventListener('load', async () => {
SwaggerUI.plugins.DownloadUrl,
],
});
window.ui = ui;
});