-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
explicitly export core mock types #81527
Conversation
FYI @elastic/kibana-operations |
I really hate globals, is it really too much to ask that these types get imported everywhere they are used? |
@spalger probably it's okay...also we could try to include them automatically for all the TS project (with https://www.typescriptlang.org/tsconfig#typeRoots in |
Sounds like another way to add more globals. |
1004fc0
to
d8760f0
Compare
closed in favour of #81739 |
Summary
Fixes build error https://kibana-ci.elastic.co/job/elastic+kibana+pipeline-pull-request/83411/execution/node/105/log/ in #81177
Other TS project configs include 'global'
typings
kibana/src/plugins/kibana_react/tsconfig.json
Line 12 in ae8f8e1
Which shouldn't be a requirement for them. It's rather a temporary workaround. In the ideal case, we should import all global types explicitly from
@kbn/utility-types
. Unfortunately, I didn't manage to find a way to movejest.Mocked
type there #76785 (comment)@mistic Can it be a problem for the migration to the Bazel toolchain?