Define protocol for porting abstract classes from .NET to TypeScript #2616
Labels
Area: Engineering
Internal issues that are related to improving code quality, refactorings, code cleanup, etc.
P0
Must Fix. Release-blocker
Size: M
The issue is not very complex and it is well understood, it will take 1 to 3 days to complete
team-agility
An issue targeted to reduce friction to the SDK's development process.
Originally posted by @GeoffCoxMSFT in #2342 (comment)
I agree with Geoff's PR feedback on #2342. If there are implementations that should be default, then an abstract class is valid in TypeScript (TypeScript does not have default implementations available via interface like C#).
However, as he indicates, there are language differences that need to be taken into account when porting abstract classes into TypeScript. The point about TypeScript interfaces is especially poignant as TypeScript is a superscript layered on top of JavaScript.
While this may be more in the vein of a "'magic wand' ask" ideally, any abstract classes with provided functionality should be nigh-close to perfect, otherwise we run overload and method deprecation issues experienced in Skills in TypeScript.
We should define a protocol for porting over abstract classes and interfaces from .NET to TypeScript.
The text was updated successfully, but these errors were encountered: