BBob icon indicating copy to clipboard operation
BBob copied to clipboard

Is there any plan for TypeScript supporting?

Open yswtrue opened this issue 4 years ago • 5 comments

Is there any plan for TypeScript supporting?

yswtrue avatar Feb 05 '21 18:02 yswtrue

Yep in plans, type files.

JiLiZART avatar Feb 05 '21 21:02 JiLiZART

Is this still planned? If so, do you have a time estimate?

GetPastTheMonkey avatar Jul 28 '23 11:07 GetPastTheMonkey

I already started to convert my tests to typescript and write some definition files

JiLiZART avatar Jul 28 '23 11:07 JiLiZART

Just in case it is interesting, here are our typings we have tried to introduce for BBob (Permlink of current state, often refactored currently when we go deeper down the API): https://github.com/CoreMedia/ckeditor-plugins/tree/bcfca6fe1ed42aa3d9d15ed4b3ae67c0620ed81e/packages/ckeditor5-bbcode/types/%40bbob

Also got inspired by the PoC-branch that already exists.

I must admit, they contain many rough guesses (often shortened by just using unknown as type) as from outside the API is complex (and powerful regarding its possible extension points). Nevertheless, as the API is that rich, it would for sure benefit from proper typings.

mmichaelis avatar Oct 25 '23 05:10 mmichaelis

Excited to see this looking like it's coming closer to fruition with the in-progress CR! Thanks for working on it!

Hanhula avatar Oct 26 '23 11:10 Hanhula