elastic/kibana

Remove `export *` pattern from Data plugin

Open

#99,515 创建于 2021年5月6日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)TypeScript (19,065 star) (8,021 fork)batch import
Feature:SearchTeam:DataDiscoverygood first issueimpact:mediumloe:smalltechnical debt

描述

export * makes it easy for a developer to accidentally expose functionality on a plugin's public API, and so should be avoided in favor of explicit exports.

Looks like data/common/index.ts has quite a few: https://github.com/elastic/kibana/blob/master/src/plugins/data/common/index.ts#L9

贡献者指南