Expose Core API's as classes using Typescript's "ES Private fields" #54906
Labels
Feature:New Platform
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
From #52397 (comment)
With Typescript's ES Private field support being available in 3.8, we can expose the typings for Core's API's as real classes instead of the workarounds of using derived types or separate interfaces.
Phase 1: investigation
Using Typescript 3.8 Beta investigate this approach to ensure it works with our other tooling such as api-extractor and api-documenter.
Phase 2: rollout
(marked as a blocker since we'd like to get this kind of API type churn done before 8.0.0)
The text was updated successfully, but these errors were encountered: