[typescript] Make additional properties access safer (#5207)

* [typescript-fetch] Make additional properties access safer

Instead of asserting that any key access returns a valid property, force
the consumer to check that the value is defined.

* Update tests

* Put null-safe additional props behind and flag and share

* Undo over copy

* Update docs

* Rearrange code

* Move to unit tests
This commit is contained in:
Åsmund Grammeltvedt
2020-02-10 07:47:29 +01:00
committed by GitHub
parent 2aa8a6d033
commit a8015ad8c1
22 changed files with 68 additions and 26 deletions

View File

@@ -1 +1 @@
4.3.0-SNAPSHOT
4.3.0-SNAPSHOT