From 8847517798d94960fd73543258ef8fe0df6a6561 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 9 Jul 2020 20:32:26 -0700 Subject: [PATCH] build: tsify isolated_renderer/init (#24496) --- filenames.auto.gni | 2 +- lib/isolated_renderer/{init.js => init.ts} | 0 typings/internal-ambient.d.ts | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) rename lib/isolated_renderer/{init.js => init.ts} (100%) 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;