diff --git a/filenames.auto.gni b/filenames.auto.gni index e5c977ac9033..b40f23e11ad7 100644 --- a/filenames.auto.gni +++ b/filenames.auto.gni @@ -174,7 +174,7 @@ auto_filenames = { ] isolated_bundle_deps = [ - "lib/isolated_renderer/init.js", + "lib/isolated_renderer/init.ts", "lib/renderer/web-view/web-view-constants.ts", "lib/renderer/web-view/web-view-element.ts", "package.json", diff --git a/lib/isolated_renderer/init.js b/lib/isolated_renderer/init.ts similarity index 100% rename from lib/isolated_renderer/init.js rename to lib/isolated_renderer/init.ts diff --git a/typings/internal-ambient.d.ts b/typings/internal-ambient.d.ts index 0550c2a24615..654cdb5271cf 100644 --- a/typings/internal-ambient.d.ts +++ b/typings/internal-ambient.d.ts @@ -1,4 +1,6 @@ declare var internalBinding: any; +declare var nodeProcess: any; +declare var isolatedWorld: any; declare var binding: { get: (name: string) => any; process: NodeJS.Process; createPreloadScript: (src: string) => Function }; declare const BUILDFLAG: (flag: boolean) => boolean;