From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- toolkit/components/extensions/tsconfig.json | 56 +++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 toolkit/components/extensions/tsconfig.json (limited to 'toolkit/components/extensions/tsconfig.json') diff --git a/toolkit/components/extensions/tsconfig.json b/toolkit/components/extensions/tsconfig.json new file mode 100644 index 0000000000..d569ba9eca --- /dev/null +++ b/toolkit/components/extensions/tsconfig.json @@ -0,0 +1,56 @@ +{ + "include": ["*.mjs", "types/globals.ts"], + "exclude": [], + + "compilerOptions": { + "checkJs": true, + "target": "ESNEXT", + + "declaration": true, + "outDir": "./types", + "typeRoots": [], + "noEmit": true, + + // prettier-ignore + "paths": { + "resource://gre/modules/ConduitsParent.sys.mjs": ["./ConduitsParent.sys.mjs"], + "resource://gre/modules/ConduitsChild.sys.mjs": ["./ConduitsChild.sys.mjs"], + "resource://gre/modules/Extension.sys.mjs": ["./Extension.sys.mjs"], + "resource://gre/modules/ExtensionActivityLog.sys.mjs": ["./ExtensionActivityLog.sys.mjs"], + "resource://gre/modules/ExtensionChild.sys.mjs": ["./ExtensionChild.sys.mjs"], + "resource://gre/modules/ExtensionCommon.sys.mjs": ["./ExtensionCommon.sys.mjs"], + "resource://gre/modules/ExtensionContent.sys.mjs": ["./ExtensionContent.sys.mjs"], + "resource://gre/modules/ExtensionDNR.sys.mjs": ["./ExtensionDNR.sys.mjs"], + "resource://gre/modules/ExtensionDNRLimits.sys.mjs": ["./ExtensionDNRLimits.sys.mjs"], + "resource://gre/modules/ExtensionDNRStore.sys.mjs": ["./ExtensionDNRStore.sys.mjs"], + "resource://gre/modules/ExtensionPageChild.sys.mjs": ["./ExtensionPageChild.sys.mjs"], + "resource://gre/modules/ExtensionParent.sys.mjs": ["./ExtensionParent.sys.mjs"], + "resource://gre/modules/ExtensionPermissionMessages.sys.mjs": ["./ExtensionPermissionMessages.sys.mjs"], + "resource://gre/modules/ExtensionPermissions.sys.mjs": ["./ExtensionPermissions.sys.mjs"], + "resource://gre/modules/ExtensionStorage.sys.mjs": ["./ExtensionStorage.sys.mjs"], + "resource://gre/modules/ExtensionStorageIDB.sys.mjs": ["./ExtensionStorageIDB.sys.mjs"], + "resource://gre/modules/ExtensionStorageSync.sys.mjs": ["./ExtensionStorageSync.sys.mjs"], + "resource://gre/modules/ExtensionTelemetry.sys.mjs": ["./ExtensionTelemetry.sys.mjs"], + "resource://gre/modules/ExtensionUtils.sys.mjs": ["./ExtensionUtils.sys.mjs"], + "resource://gre/modules/ExtensionWorkerChild.sys.mjs": ["./ExtensionWorkerChild.sys.mjs"], + "resource://gre/modules/MessageManagerProxy.sys.mjs": ["./MessageManagerProxy.sys.mjs"], + "resource://gre/modules/NativeManifests.sys.mjs": ["./NativeManifests.sys.mjs"], + "resource://gre/modules/NativeMessaging.sys.mjs": ["./NativeMessaging.sys.mjs"], + "resource://gre/modules/Schemas.sys.mjs": ["./Schemas.sys.mjs"], + "resource://gre/modules/WebNavigationFrames.sys.mjs": ["./WebNavigationFrames.sys.mjs"], + "resource://gre/modules/WebRequest.sys.mjs": ["./webrequest/WebRequest.sys.mjs"], + + // External. + "resource://gre/modules/addons/crypto-utils.sys.mjs": ["../../mozapps/extensions/internal/crypto-utils.sys.mjs"], + "resource://gre/modules/XPCOMUtils.sys.mjs": ["../../../js/xpconnect/loader/XPCOMUtils.sys.mjs"], + "resource://testing-common/ExtensionTestCommon.sys.mjs": ["./ExtensionTestCommon.sys.mjs"], + + // Types for external modules which need fixing, but we don't wanna touch. + "resource://testing-common/XPCShellContentUtils.sys.mjs": ["./types/XPCShellContentUtils.sys.d.mts"], + + // Catch-all redirect for all other modules. + "resource://gre/modules/*.sys.mjs": ["./types/globals.ts"], + "./*": ["./"] + } + } +} -- cgit v1.2.3