Typescript has a good inference engine (any - Used when some types are left out etc.) which can infer most type information when using the languages primitives (Array, string, number, etc.). When this is the case , and/or we need union types, we should not restrict types we should allow the inference engine to take over - Lessens the amount of "typings" required, speeds up development, and makes function more versatile (in a restricted sense).
We need to remove typescript "typings" where they're not, absolutely, necessary.
Acceptance Criteria
Remove typings where they aren't required (in):
Typescript has a good inference engine (
any- Used when some types are left out etc.) which can infer most type information when using the languages primitives (Array, string, number, etc.). When this is the case , and/or we need union types, we should not restrict types we should allow the inference engine to take over - Lessens the amount of "typings" required, speeds up development, and makes function more versatile (in a restricted sense).We need to remove typescript "typings" where they're not, absolutely, necessary.
Acceptance Criteria
Remove typings where they aren't required (in):