-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[TS] Review types feedback #13864
Comments
Those are some interesting examples of missing exports. I feel we may need to discuss it because some of these classes are not something we would like to expose in order to ensure flexibility for us to maintain (e.g. refactor) those features. But I understand the need to export them. |
Some are related to yet missing extension points, like for the link UI (see #13446). That's why I added a reference to our usages, as I understand that it is not desirable to expose all layers of the API. Thus, I like the idea of having |
@mmichaelis, we had a chance to discuss it today:
|
Some details with focus on Our use-cases are:
Especially for the latter case, we require deep integration into the views, also adding observable properties (via Unfortunately, not exposing Currently trying the suggested [workaround|https://github.com/microsoft/TypeScript/issues/14080#issuecomment-1050833256] (instead to give up with Thus, this may be two in one:
|
Includes augmenting `LinkUI` by new `LinkActionsView` and `LinkFormView` supporting our (again augmented) properties `contentUriPath` and `contentName`. Due to several issues regarding not providing `LinkFormView` and `LinkActionsView` as named exports (which blocks augmenting them due to an unresolved TypeScript Issue), and `SingleBindChain.to` having too strict typing - at least from the implementation point of view here, this resulted in a bunch of changes to get typings straight. See-also: microsoft/TypeScript#14080 See-also: ckeditor/ckeditor5#13864 See-also: ckeditor/ckeditor5#13965
thanks again for the feedback @mmichaelis. We are discussing this internally as the UI's API is a tricky subject, and we want to make sure we are exposing proper things. Glad there's a workaround, we will get back to you as soon as we know something. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
Review CoreMedia's feedback about exports in #12027, and decide on the next steps.
#12027 (comment)
The text was updated successfully, but these errors were encountered: