Update TS-MIGRATION.md

This commit is contained in:
Bruno Windels 2021-11-30 14:17:51 +00:00 committed by GitHub
parent 2e57e99e34
commit 49443d4f6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,4 @@
# Typescript migration # Typescript style guide
## Introduce `abstract` & `override`
- find all methods and getters that throw or are empty in base classes and turn into abstract method or if all methods are abstract, into an interface.
- change child impls to not call super.method and to add override
- don't allow implicit override in ts config
## Use `type` rather than `interface` for named parameters and POJO return values. ## Use `type` rather than `interface` for named parameters and POJO return values.