Fix a few errors relating to optional properties
TS 4.0 treats optional properties of type T as `T|undefined` and produces an error if the property is used in a situation where it may not be set.
Showing
Please register or sign in to comment