threshold-network / staking-subgraphs

Threshold Network staking subgraphs
https://threshold.network
1 stars 1 forks source link

Avoid non-null assertions operators #17

Closed manumonti closed 2 years ago

manumonti commented 2 years ago

Note: This PR must be merged after #14

The use of non-null assertions operators on Typescript is not recommended whenever possible. Avoiding the use of them let the compiler do the job of statically checking the code.