mirror of https://github.com/go-gitea/gitea.git
- Prefer [window.location.assign](https://developer.mozilla.org/en-US/docs/Web/API/Location/assign) over assigning to [window.location](https://developer.mozilla.org/en-US/docs/Web/API/Window/location) which typescript does not like. This works in all browsers including PaleMoon. - Fix all typescript issues in `web_src/js/webcomponents`, no behaviour changes. - ~~Workaround bug in `@typescript-eslint/no-unnecessary-type-assertion` rule.~~ - Omit vendored file from type checks. - `tsc` error count is reduce by 53 with these changes. |
5 months ago | |
---|---|---|
.. | ||
components | 5 months ago | |
features | 5 months ago | |
markup | 7 months ago | |
modules | 8 months ago | |
render | 7 months ago | |
standalone | 7 months ago | |
utils | 5 months ago | |
vendor | 5 months ago | |
webcomponents | 5 months ago | |
bootstrap.test.ts | 9 months ago | |
bootstrap.ts | 8 months ago | |
globals.d.ts | 7 months ago | |
globals.ts | 9 months ago | |
htmx.ts | 7 months ago | |
index.ts | 5 months ago | |
svg.test.ts | 7 months ago | |
svg.ts | 5 months ago | |
types.ts | 5 months ago | |
utils.test.ts | 5 months ago | |
utils.ts | 5 months ago | |
vitest.setup.ts | 7 months ago |