Skip to content
/ kibana Public
forked from elastic/kibana

Commit

Permalink
Add tsconfig for url_forwarding
Browse files Browse the repository at this point in the history
Also add missing pieces to kibana_react, as a follow-up to elastic#80992.

References elastic#80508
References elastic#81003
  • Loading branch information
smith committed Oct 20, 2020
1 parent 35e21db commit 0964a15
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/plugins/kibana_legacy/public/utils/private.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
*/

export type IPrivate = <T>(provider: (...injectable: any[]) => T) => T;

export function PrivateProvider(): void;
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.refs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
]
}

0 comments on commit 0964a15

Please sign in to comment.