From 0964a15192399a27acd26c7a61b91b9ff1fc7077 Mon Sep 17 00:00:00 2001 From: Nathan L Smith Date: Tue, 20 Oct 2020 09:49:37 -0500 Subject: [PATCH] Add tsconfig for url_forwarding Also add missing pieces to kibana_react, as a follow-up to #80992. References #80508 References #81003 --- src/plugins/kibana_legacy/public/utils/private.d.ts | 2 ++ tsconfig.json | 3 ++- tsconfig.refs.json | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/plugins/kibana_legacy/public/utils/private.d.ts b/src/plugins/kibana_legacy/public/utils/private.d.ts index 3efc9cd5308f7..ab3c1e823f7ec 100644 --- a/src/plugins/kibana_legacy/public/utils/private.d.ts +++ b/src/plugins/kibana_legacy/public/utils/private.d.ts @@ -18,3 +18,5 @@ */ export type IPrivate = (provider: (...injectable: any[]) => T) => T; + +export function PrivateProvider(): void; diff --git a/tsconfig.json b/tsconfig.json index 92e5b9654acd7..96e15f664d6ec 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,8 @@ "src/core/**/*", "src/plugins/kibana_legacy/**/*", "src/plugins/kibana_react/**/*", - "src/plugins/kibana_utils/**/*" + "src/plugins/kibana_utils/**/*", + "src/plugins/url_forwarding/**/*" // In the build we actually exclude **/public/**/* from this config so that // we can run the TSC on both this and the .browser version of this config // file, but if we did it during development IDEs would not be able to find diff --git a/tsconfig.refs.json b/tsconfig.refs.json index 54bd07e4b134c..4e75d121b2115 100644 --- a/tsconfig.refs.json +++ b/tsconfig.refs.json @@ -3,7 +3,9 @@ "references": [ { "path": "./src/test_utils/tsconfig.json" }, { "path": "./src/core/tsconfig.json" }, - { "path": "./src/plugins/kibana_utils/tsconfig.json" }, + { "path": "./src/plugins/kibana_legacy/tsconfig.json" }, { "path": "./src/plugins/kibana_react/tsconfig.json" }, + { "path": "./src/plugins/kibana_utils/tsconfig.json" }, + { "path": "./src/plugins/url_forwarding/tsconfig.json" } ] }