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
1 changed files with 1 additions and 7 deletions

View File

@ -1,10 +1,4 @@
# Typescript migration
## 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
# Typescript style guide
## Use `type` rather than `interface` for named parameters and POJO return values.