forked from mystiq/hydrogen-web
Update TS-MIGRATION.md
This commit is contained in:
parent
2e57e99e34
commit
49443d4f6e
1 changed files with 1 additions and 7 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue