From 0ae9994fd7de15d689c6f2f943bf99ccd582c20b Mon Sep 17 00:00:00 2001 From: Angelo Verlain Date: Tue, 20 Aug 2024 19:00:18 +0200 Subject: [PATCH] chore: rename `ambient.d.ts` to `workbench.d.ts` --- src/langs/javascript/template/jsconfig.json | 2 +- src/langs/typescript/meson.build | 4 ++-- src/langs/typescript/template/tsconfig.json | 2 +- src/langs/typescript/types/{ambient.d.ts => workbench.d.ts} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename src/langs/typescript/types/{ambient.d.ts => workbench.d.ts} (100%) diff --git a/src/langs/javascript/template/jsconfig.json b/src/langs/javascript/template/jsconfig.json index 835b0797c..07e30922a 100644 --- a/src/langs/javascript/template/jsconfig.json +++ b/src/langs/javascript/template/jsconfig.json @@ -15,7 +15,7 @@ }, "include": [ "main.js", - "@pkgdatadir@/langs/typescript/types/ambient.d.ts", + "@pkgdatadir@/langs/typescript/types/workbench.d.ts", "@pkgdatadir@/langs/typescript/gi-types/gi.d.ts" ] } diff --git a/src/langs/typescript/meson.build b/src/langs/typescript/meson.build index 2cf57dd3a..015df1fa4 100644 --- a/src/langs/typescript/meson.build +++ b/src/langs/typescript/meson.build @@ -6,8 +6,8 @@ configure_file( ) configure_file( - input: 'types/ambient.d.ts', - output: 'ambient.d.ts', + input: 'types/workbench.d.ts', + output: 'workbench.d.ts', install_dir: join_paths(pkgdatadir, 'langs/typescript/types'), configuration: bin_conf, ) diff --git a/src/langs/typescript/template/tsconfig.json b/src/langs/typescript/template/tsconfig.json index 42904bc9a..d7f723deb 100644 --- a/src/langs/typescript/template/tsconfig.json +++ b/src/langs/typescript/template/tsconfig.json @@ -11,6 +11,6 @@ "include": [ "main.ts", "@pkgdatadir@/langs/typescript/gi-types/index.d.ts", - "@pkgdatadir@/langs/typescript/types/ambient.d.ts" + "@pkgdatadir@/langs/typescript/types/workbench.d.ts" ] } diff --git a/src/langs/typescript/types/ambient.d.ts b/src/langs/typescript/types/workbench.d.ts similarity index 100% rename from src/langs/typescript/types/ambient.d.ts rename to src/langs/typescript/types/workbench.d.ts