From 22c03fef3f201d97c810127bd606db976be363f2 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Thu, 13 Feb 2020 15:30:49 -0800 Subject: [PATCH] [globalize] Add Globalize runtime (#42204) * [globalize] Add Globalize runtime * Add globalize-runtime to other_files * Also export namespace for browser users * Import from index instead of ./globalize --- types/globalize/OTHER_FILES.txt | 1 + types/globalize/dist/globalize-runtime.d.ts | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 types/globalize/OTHER_FILES.txt create mode 100644 types/globalize/dist/globalize-runtime.d.ts diff --git a/types/globalize/OTHER_FILES.txt b/types/globalize/OTHER_FILES.txt new file mode 100644 index 0000000000..99a40af5d6 --- /dev/null +++ b/types/globalize/OTHER_FILES.txt @@ -0,0 +1 @@ +dist/globalize-runtime.d.ts diff --git a/types/globalize/dist/globalize-runtime.d.ts b/types/globalize/dist/globalize-runtime.d.ts new file mode 100644 index 0000000000..bd5815ee8e --- /dev/null +++ b/types/globalize/dist/globalize-runtime.d.ts @@ -0,0 +1,4 @@ +import * as Globalize from "../"; + +export as namespace Globalize; +export = Globalize;