From 7daa7394aafda892a32f4dcf78306f4d61d175bd Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 12 Dec 2025 13:28:00 +0100 Subject: [PATCH 1/9] Make `tsc` / `tsgo` output clean --- web_src/js/globals.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web_src/js/globals.d.ts b/web_src/js/globals.d.ts index 00f1744a957b2..09221cbdac3d6 100644 --- a/web_src/js/globals.d.ts +++ b/web_src/js/globals.d.ts @@ -16,6 +16,7 @@ declare module '*.vue' { // To actually lint .vue files, `vue-tsc` is used because `tsc` can not parse them. export function initDashboardRepoList(): void; export function initRepositoryActionView(): void; + export type Item = any; } declare let __webpack_public_path__: string; From b8c684089e142066a3a3e3a500c2591211ee5884 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 12 Dec 2025 13:34:15 +0100 Subject: [PATCH 2/9] add tsgo --- Makefile | 2 ++ package.json | 1 + pnpm-lock.yaml | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/Makefile b/Makefile index 2b9fc60eb3162..a82e2ea147490 100644 --- a/Makefile +++ b/Makefile @@ -341,11 +341,13 @@ lint-backend-fix: lint-go-fix lint-go-gitea-vet lint-editorconfig ## lint backen lint-js: node_modules ## lint js files $(NODE_VARS) pnpm exec eslint --color --max-warnings=0 --flag unstable_native_nodejs_ts_config $(ESLINT_FILES) $(NODE_VARS) pnpm exec vue-tsc + $(NODE_VARS) pnpm exec tsgo .PHONY: lint-js-fix lint-js-fix: node_modules ## lint js files and fix issues $(NODE_VARS) pnpm exec eslint --color --max-warnings=0 --flag unstable_native_nodejs_ts_config $(ESLINT_FILES) --fix $(NODE_VARS) pnpm exec vue-tsc + $(NODE_VARS) pnpm exec tsgo .PHONY: lint-css lint-css: node_modules ## lint css files diff --git a/package.json b/package.json index 9f848ac3ce022..fc2a9db27016f 100644 --- a/package.json +++ b/package.json @@ -80,6 +80,7 @@ "@types/tinycolor2": "1.4.6", "@types/toastify-js": "1.12.4", "@typescript-eslint/parser": "8.48.1", + "@typescript/native-preview": "7.0.0-dev.20251212.1", "@vitejs/plugin-vue": "6.0.2", "@vitest/eslint-plugin": "1.5.1", "eslint": "9.39.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d6c00cd0816b2..48c6720bad73f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -243,6 +243,9 @@ importers: '@typescript-eslint/parser': specifier: 8.48.1 version: 8.48.1(eslint@9.39.1(jiti@2.6.1))(typescript@5.9.3) + '@typescript/native-preview': + specifier: 7.0.0-dev.20251212.1 + version: 7.0.0-dev.20251212.1 '@vitejs/plugin-vue': specifier: 6.0.2 version: 6.0.2(vite@7.2.6(@types/node@24.10.1)(jiti@2.6.1)(stylus@0.57.0)(terser@5.44.1)(yaml@2.8.2))(vue@3.5.25(typescript@5.9.3)) @@ -1293,6 +1296,45 @@ packages: resolution: {integrity: sha512-BmxxndzEWhE4TIEEMBs8lP3MBWN3jFPs/p6gPm/wkv02o41hI6cq9AuSmGAaTTHPtA1FTi2jBre4A9rm5ZmX+Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript/native-preview-darwin-arm64@7.0.0-dev.20251212.1': + resolution: {integrity: sha512-5tof0OT01yPQ0mcoKPeSrGMxQ9Dl//gTjSKCMKwbLr5urrIPxX5bNRWUH0hxWaB4A3mXQvDvxSSrWR5TMOl2aQ==} + cpu: [arm64] + os: [darwin] + + '@typescript/native-preview-darwin-x64@7.0.0-dev.20251212.1': + resolution: {integrity: sha512-zUgcCXmDfO2yo5fNZZ3wUCv8hdqc/Qbc1WZUEDYYo3ItnBUL9qp0lUtTwsLtNreL2WmHOCeTQuKWa/JQzdw89g==} + cpu: [x64] + os: [darwin] + + '@typescript/native-preview-linux-arm64@7.0.0-dev.20251212.1': + resolution: {integrity: sha512-0P59bGDFLppvkdpqQ8/kG+kU6R0iCdQiSLFRNrbrLnaflACBfIi40D3Ono3EmeSxqKsHqh/pNRu3BUJvoNGphw==} + cpu: [arm64] + os: [linux] + + '@typescript/native-preview-linux-arm@7.0.0-dev.20251212.1': + resolution: {integrity: sha512-peQCeG2+XqMqs6/Sg6nbQPI3Kae91Esi5Qh1VyDETO4wjMbKeAzVjw8t3Qz5X6RDbWNrCpDmbk6chjukfGeWgQ==} + cpu: [arm] + os: [linux] + + '@typescript/native-preview-linux-x64@7.0.0-dev.20251212.1': + resolution: {integrity: sha512-7QFyqcPe/Sz+IakvzCqh0d5WhQg7A7bKyQil38K7rKSTaPI42LrVwLA6mVtTRfQyS5Sy2XYVinyLNXnWM8ImQQ==} + cpu: [x64] + os: [linux] + + '@typescript/native-preview-win32-arm64@7.0.0-dev.20251212.1': + resolution: {integrity: sha512-Y8mh0dPXAcYYNtSZVZYaNcqAOlxOlbJQopJBVATn+ItCxrY4RqBwygzrBWqg+gUo9xLmFI9XLuDVqm1ZAkAfwg==} + cpu: [arm64] + os: [win32] + + '@typescript/native-preview-win32-x64@7.0.0-dev.20251212.1': + resolution: {integrity: sha512-bUPWJgGhPdsoL3OR+I8nFF81P/+hwfqyMKaAWFxTg1zeRdEl61lVdrEfgNDBI7Px5Gr+uFGELlkCsDzy/7dAyw==} + cpu: [x64] + os: [win32] + + '@typescript/native-preview@7.0.0-dev.20251212.1': + resolution: {integrity: sha512-uNPMu5+ElTN7AZRFJXsTPtSAQ2b7FIXMvpQbU/L0VD5PoBp5nMiQbgO1QFSvbFiIoTTma3I2TX3WSO5olIMTLQ==} + hasBin: true + '@unrs/resolver-binding-android-arm-eabi@1.11.1': resolution: {integrity: sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==} cpu: [arm] @@ -5160,6 +5202,37 @@ snapshots: '@typescript-eslint/types': 8.48.1 eslint-visitor-keys: 4.2.1 + '@typescript/native-preview-darwin-arm64@7.0.0-dev.20251212.1': + optional: true + + '@typescript/native-preview-darwin-x64@7.0.0-dev.20251212.1': + optional: true + + '@typescript/native-preview-linux-arm64@7.0.0-dev.20251212.1': + optional: true + + '@typescript/native-preview-linux-arm@7.0.0-dev.20251212.1': + optional: true + + '@typescript/native-preview-linux-x64@7.0.0-dev.20251212.1': + optional: true + + '@typescript/native-preview-win32-arm64@7.0.0-dev.20251212.1': + optional: true + + '@typescript/native-preview-win32-x64@7.0.0-dev.20251212.1': + optional: true + + '@typescript/native-preview@7.0.0-dev.20251212.1': + optionalDependencies: + '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20251212.1 + '@typescript/native-preview-darwin-x64': 7.0.0-dev.20251212.1 + '@typescript/native-preview-linux-arm': 7.0.0-dev.20251212.1 + '@typescript/native-preview-linux-arm64': 7.0.0-dev.20251212.1 + '@typescript/native-preview-linux-x64': 7.0.0-dev.20251212.1 + '@typescript/native-preview-win32-arm64': 7.0.0-dev.20251212.1 + '@typescript/native-preview-win32-x64': 7.0.0-dev.20251212.1 + '@unrs/resolver-binding-android-arm-eabi@1.11.1': optional: true From d79cbc3d1db95f36c0a2ef2fbd0971dcaa8a79c3 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 12 Dec 2025 13:36:14 +0100 Subject: [PATCH 3/9] update comment --- web_src/js/globals.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/js/globals.d.ts b/web_src/js/globals.d.ts index 09221cbdac3d6..a821d2e8029d5 100644 --- a/web_src/js/globals.d.ts +++ b/web_src/js/globals.d.ts @@ -12,8 +12,8 @@ declare module '*.vue' { import type {DefineComponent} from 'vue'; const component: DefineComponent; export default component; - // List of named exports from vue components, used to make `tsc` output clean. - // To actually lint .vue files, `vue-tsc` is used because `tsc` can not parse them. + // Here we declare all exports from vue files so that `tsgo` can work and be used for + // non-vue files. To lint .vue files, `vue-tsc` must be used. export function initDashboardRepoList(): void; export function initRepositoryActionView(): void; export type Item = any; From a39b7b87522e61550728f345ba2fe14ed8008a39 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 12 Dec 2025 13:47:17 +0100 Subject: [PATCH 4/9] move and rename to FileTreeItem --- web_src/js/components/ViewFileTreeItem.vue | 15 +++------------ web_src/js/components/ViewFileTreeStore.ts | 4 ++-- web_src/js/types.ts | 10 ++++++++++ 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/web_src/js/components/ViewFileTreeItem.vue b/web_src/js/components/ViewFileTreeItem.vue index 9a50adedaac7f..fbfff83525371 100644 --- a/web_src/js/components/ViewFileTreeItem.vue +++ b/web_src/js/components/ViewFileTreeItem.vue @@ -2,20 +2,11 @@ import {SvgIcon} from '../svg.ts'; import {isPlainClick} from '../utils/dom.ts'; import {shallowRef} from 'vue'; -import {type createViewFileTreeStore} from './ViewFileTreeStore.ts'; - -export type Item = { - entryName: string; - entryMode: 'blob' | 'exec' | 'tree' | 'commit' | 'symlink' | 'unknown'; - entryIcon: string; - entryIconOpen: string; - fullPath: string; - submoduleUrl?: string; - children?: Item[]; -}; +import type {createViewFileTreeStore} from './ViewFileTreeStore.ts'; +import type {FileTreeItem} from '../types.ts'; const props = defineProps<{ - item: Item, + item: FileTreeItem, store: ReturnType }>(); diff --git a/web_src/js/components/ViewFileTreeStore.ts b/web_src/js/components/ViewFileTreeStore.ts index 2dc8093878326..f4881b61b2911 100644 --- a/web_src/js/components/ViewFileTreeStore.ts +++ b/web_src/js/components/ViewFileTreeStore.ts @@ -3,11 +3,11 @@ import {GET} from '../modules/fetch.ts'; import {pathEscapeSegments} from '../utils/url.ts'; import {createElementFromHTML} from '../utils/dom.ts'; import {html} from '../utils/html.ts'; -import type {Item} from './ViewFileTreeItem.vue'; +import type {FileTreeItem} from '../types.ts'; export function createViewFileTreeStore(props: {repoLink: string, treePath: string, currentRefNameSubURL: string}) { const store = reactive({ - rootFiles: [] as Array, + rootFiles: [] as Array, selectedItem: props.treePath, async loadChildren(treePath: string, subPath: string = '') { diff --git a/web_src/js/types.ts b/web_src/js/types.ts index 2f76a58c9d0b1..e8659899cc81c 100644 --- a/web_src/js/types.ts +++ b/web_src/js/types.ts @@ -76,3 +76,13 @@ export type FomanticInitFunction = { export type GitRefType = 'branch' | 'tag'; export type Promisable = T | Promise; // stricter than type-fest which uses PromiseLike + +export type FileTreeItem = { + entryName: string; + entryMode: 'blob' | 'exec' | 'tree' | 'commit' | 'symlink' | 'unknown'; + entryIcon: string; + entryIconOpen: string; + fullPath: string; + submoduleUrl?: string; + children?: FileTreeItem[]; +}; From ae6c461f06cdde1c0e4d7b849e148cdb75dc9f79 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 12 Dec 2025 13:47:35 +0100 Subject: [PATCH 5/9] remove type --- web_src/js/globals.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/web_src/js/globals.d.ts b/web_src/js/globals.d.ts index a821d2e8029d5..966b13954ec7a 100644 --- a/web_src/js/globals.d.ts +++ b/web_src/js/globals.d.ts @@ -16,7 +16,6 @@ declare module '*.vue' { // non-vue files. To lint .vue files, `vue-tsc` must be used. export function initDashboardRepoList(): void; export function initRepositoryActionView(): void; - export type Item = any; } declare let __webpack_public_path__: string; From 7b19d36b4d180f1537c058b78edb11848f8940dd Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 12 Dec 2025 13:49:11 +0100 Subject: [PATCH 6/9] move to ViewFileTreeStore.ts --- web_src/js/components/ViewFileTreeItem.vue | 3 +-- web_src/js/components/ViewFileTreeStore.ts | 12 +++++++++++- web_src/js/types.ts | 10 ---------- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/web_src/js/components/ViewFileTreeItem.vue b/web_src/js/components/ViewFileTreeItem.vue index fbfff83525371..ce019e655f4a4 100644 --- a/web_src/js/components/ViewFileTreeItem.vue +++ b/web_src/js/components/ViewFileTreeItem.vue @@ -2,8 +2,7 @@ import {SvgIcon} from '../svg.ts'; import {isPlainClick} from '../utils/dom.ts'; import {shallowRef} from 'vue'; -import type {createViewFileTreeStore} from './ViewFileTreeStore.ts'; -import type {FileTreeItem} from '../types.ts'; +import type {createViewFileTreeStore, FileTreeItem} from './ViewFileTreeStore.ts'; const props = defineProps<{ item: FileTreeItem, diff --git a/web_src/js/components/ViewFileTreeStore.ts b/web_src/js/components/ViewFileTreeStore.ts index f4881b61b2911..448f09d6fb416 100644 --- a/web_src/js/components/ViewFileTreeStore.ts +++ b/web_src/js/components/ViewFileTreeStore.ts @@ -3,7 +3,17 @@ import {GET} from '../modules/fetch.ts'; import {pathEscapeSegments} from '../utils/url.ts'; import {createElementFromHTML} from '../utils/dom.ts'; import {html} from '../utils/html.ts'; -import type {FileTreeItem} from '../types.ts'; + +export type FileTreeItem = { + entryName: string; + entryMode: 'blob' | 'exec' | 'tree' | 'commit' | 'symlink' | 'unknown'; + entryIcon: string; + entryIconOpen: string; + fullPath: string; + submoduleUrl?: string; + children?: FileTreeItem[]; +}; + export function createViewFileTreeStore(props: {repoLink: string, treePath: string, currentRefNameSubURL: string}) { const store = reactive({ diff --git a/web_src/js/types.ts b/web_src/js/types.ts index e8659899cc81c..2f76a58c9d0b1 100644 --- a/web_src/js/types.ts +++ b/web_src/js/types.ts @@ -76,13 +76,3 @@ export type FomanticInitFunction = { export type GitRefType = 'branch' | 'tag'; export type Promisable = T | Promise; // stricter than type-fest which uses PromiseLike - -export type FileTreeItem = { - entryName: string; - entryMode: 'blob' | 'exec' | 'tree' | 'commit' | 'symlink' | 'unknown'; - entryIcon: string; - entryIconOpen: string; - fullPath: string; - submoduleUrl?: string; - children?: FileTreeItem[]; -}; From 722d7309af8236312440eab73d2d9a87668e75c1 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 12 Dec 2025 13:49:47 +0100 Subject: [PATCH 7/9] lint --- web_src/js/components/ViewFileTreeStore.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/web_src/js/components/ViewFileTreeStore.ts b/web_src/js/components/ViewFileTreeStore.ts index 448f09d6fb416..07ec22929e450 100644 --- a/web_src/js/components/ViewFileTreeStore.ts +++ b/web_src/js/components/ViewFileTreeStore.ts @@ -14,7 +14,6 @@ export type FileTreeItem = { children?: FileTreeItem[]; }; - export function createViewFileTreeStore(props: {repoLink: string, treePath: string, currentRefNameSubURL: string}) { const store = reactive({ rootFiles: [] as Array, From 3aabdb07e12d04656732dfbc1b810fb377469622 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 12 Dec 2025 13:52:52 +0100 Subject: [PATCH 8/9] use Array form --- web_src/js/components/ViewFileTreeStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/components/ViewFileTreeStore.ts b/web_src/js/components/ViewFileTreeStore.ts index 07ec22929e450..936db0777640c 100644 --- a/web_src/js/components/ViewFileTreeStore.ts +++ b/web_src/js/components/ViewFileTreeStore.ts @@ -11,7 +11,7 @@ export type FileTreeItem = { entryIconOpen: string; fullPath: string; submoduleUrl?: string; - children?: FileTreeItem[]; + children?: Array; }; export function createViewFileTreeStore(props: {repoLink: string, treePath: string, currentRefNameSubURL: string}) { From 813827c38ed005ac5a8d6959ae67ff2e6b2320c9 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 13 Dec 2025 13:49:40 +0100 Subject: [PATCH 9/9] remove tsgo --- Makefile | 2 -- package.json | 1 - pnpm-lock.yaml | 73 ----------------------------------------- web_src/js/globals.d.ts | 2 +- 4 files changed, 1 insertion(+), 77 deletions(-) diff --git a/Makefile b/Makefile index a82e2ea147490..2b9fc60eb3162 100644 --- a/Makefile +++ b/Makefile @@ -341,13 +341,11 @@ lint-backend-fix: lint-go-fix lint-go-gitea-vet lint-editorconfig ## lint backen lint-js: node_modules ## lint js files $(NODE_VARS) pnpm exec eslint --color --max-warnings=0 --flag unstable_native_nodejs_ts_config $(ESLINT_FILES) $(NODE_VARS) pnpm exec vue-tsc - $(NODE_VARS) pnpm exec tsgo .PHONY: lint-js-fix lint-js-fix: node_modules ## lint js files and fix issues $(NODE_VARS) pnpm exec eslint --color --max-warnings=0 --flag unstable_native_nodejs_ts_config $(ESLINT_FILES) --fix $(NODE_VARS) pnpm exec vue-tsc - $(NODE_VARS) pnpm exec tsgo .PHONY: lint-css lint-css: node_modules ## lint css files diff --git a/package.json b/package.json index fc2a9db27016f..9f848ac3ce022 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,6 @@ "@types/tinycolor2": "1.4.6", "@types/toastify-js": "1.12.4", "@typescript-eslint/parser": "8.48.1", - "@typescript/native-preview": "7.0.0-dev.20251212.1", "@vitejs/plugin-vue": "6.0.2", "@vitest/eslint-plugin": "1.5.1", "eslint": "9.39.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 48c6720bad73f..d6c00cd0816b2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -243,9 +243,6 @@ importers: '@typescript-eslint/parser': specifier: 8.48.1 version: 8.48.1(eslint@9.39.1(jiti@2.6.1))(typescript@5.9.3) - '@typescript/native-preview': - specifier: 7.0.0-dev.20251212.1 - version: 7.0.0-dev.20251212.1 '@vitejs/plugin-vue': specifier: 6.0.2 version: 6.0.2(vite@7.2.6(@types/node@24.10.1)(jiti@2.6.1)(stylus@0.57.0)(terser@5.44.1)(yaml@2.8.2))(vue@3.5.25(typescript@5.9.3)) @@ -1296,45 +1293,6 @@ packages: resolution: {integrity: sha512-BmxxndzEWhE4TIEEMBs8lP3MBWN3jFPs/p6gPm/wkv02o41hI6cq9AuSmGAaTTHPtA1FTi2jBre4A9rm5ZmX+Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript/native-preview-darwin-arm64@7.0.0-dev.20251212.1': - resolution: {integrity: sha512-5tof0OT01yPQ0mcoKPeSrGMxQ9Dl//gTjSKCMKwbLr5urrIPxX5bNRWUH0hxWaB4A3mXQvDvxSSrWR5TMOl2aQ==} - cpu: [arm64] - os: [darwin] - - '@typescript/native-preview-darwin-x64@7.0.0-dev.20251212.1': - resolution: {integrity: sha512-zUgcCXmDfO2yo5fNZZ3wUCv8hdqc/Qbc1WZUEDYYo3ItnBUL9qp0lUtTwsLtNreL2WmHOCeTQuKWa/JQzdw89g==} - cpu: [x64] - os: [darwin] - - '@typescript/native-preview-linux-arm64@7.0.0-dev.20251212.1': - resolution: {integrity: sha512-0P59bGDFLppvkdpqQ8/kG+kU6R0iCdQiSLFRNrbrLnaflACBfIi40D3Ono3EmeSxqKsHqh/pNRu3BUJvoNGphw==} - cpu: [arm64] - os: [linux] - - '@typescript/native-preview-linux-arm@7.0.0-dev.20251212.1': - resolution: {integrity: sha512-peQCeG2+XqMqs6/Sg6nbQPI3Kae91Esi5Qh1VyDETO4wjMbKeAzVjw8t3Qz5X6RDbWNrCpDmbk6chjukfGeWgQ==} - cpu: [arm] - os: [linux] - - '@typescript/native-preview-linux-x64@7.0.0-dev.20251212.1': - resolution: {integrity: sha512-7QFyqcPe/Sz+IakvzCqh0d5WhQg7A7bKyQil38K7rKSTaPI42LrVwLA6mVtTRfQyS5Sy2XYVinyLNXnWM8ImQQ==} - cpu: [x64] - os: [linux] - - '@typescript/native-preview-win32-arm64@7.0.0-dev.20251212.1': - resolution: {integrity: sha512-Y8mh0dPXAcYYNtSZVZYaNcqAOlxOlbJQopJBVATn+ItCxrY4RqBwygzrBWqg+gUo9xLmFI9XLuDVqm1ZAkAfwg==} - cpu: [arm64] - os: [win32] - - '@typescript/native-preview-win32-x64@7.0.0-dev.20251212.1': - resolution: {integrity: sha512-bUPWJgGhPdsoL3OR+I8nFF81P/+hwfqyMKaAWFxTg1zeRdEl61lVdrEfgNDBI7Px5Gr+uFGELlkCsDzy/7dAyw==} - cpu: [x64] - os: [win32] - - '@typescript/native-preview@7.0.0-dev.20251212.1': - resolution: {integrity: sha512-uNPMu5+ElTN7AZRFJXsTPtSAQ2b7FIXMvpQbU/L0VD5PoBp5nMiQbgO1QFSvbFiIoTTma3I2TX3WSO5olIMTLQ==} - hasBin: true - '@unrs/resolver-binding-android-arm-eabi@1.11.1': resolution: {integrity: sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==} cpu: [arm] @@ -5202,37 +5160,6 @@ snapshots: '@typescript-eslint/types': 8.48.1 eslint-visitor-keys: 4.2.1 - '@typescript/native-preview-darwin-arm64@7.0.0-dev.20251212.1': - optional: true - - '@typescript/native-preview-darwin-x64@7.0.0-dev.20251212.1': - optional: true - - '@typescript/native-preview-linux-arm64@7.0.0-dev.20251212.1': - optional: true - - '@typescript/native-preview-linux-arm@7.0.0-dev.20251212.1': - optional: true - - '@typescript/native-preview-linux-x64@7.0.0-dev.20251212.1': - optional: true - - '@typescript/native-preview-win32-arm64@7.0.0-dev.20251212.1': - optional: true - - '@typescript/native-preview-win32-x64@7.0.0-dev.20251212.1': - optional: true - - '@typescript/native-preview@7.0.0-dev.20251212.1': - optionalDependencies: - '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20251212.1 - '@typescript/native-preview-darwin-x64': 7.0.0-dev.20251212.1 - '@typescript/native-preview-linux-arm': 7.0.0-dev.20251212.1 - '@typescript/native-preview-linux-arm64': 7.0.0-dev.20251212.1 - '@typescript/native-preview-linux-x64': 7.0.0-dev.20251212.1 - '@typescript/native-preview-win32-arm64': 7.0.0-dev.20251212.1 - '@typescript/native-preview-win32-x64': 7.0.0-dev.20251212.1 - '@unrs/resolver-binding-android-arm-eabi@1.11.1': optional: true diff --git a/web_src/js/globals.d.ts b/web_src/js/globals.d.ts index 966b13954ec7a..49ce63d688f74 100644 --- a/web_src/js/globals.d.ts +++ b/web_src/js/globals.d.ts @@ -12,7 +12,7 @@ declare module '*.vue' { import type {DefineComponent} from 'vue'; const component: DefineComponent; export default component; - // Here we declare all exports from vue files so that `tsgo` can work and be used for + // Here we declare all exports from vue files so `tsc` or `tsgo` can work for // non-vue files. To lint .vue files, `vue-tsc` must be used. export function initDashboardRepoList(): void; export function initRepositoryActionView(): void;