The docs state that the data type should be T | undefined. In our codebase however, data is not optional (see image), it is just T.
Does anyone know why this is the case?
2 messages · Page 1 of 1 (latest)
The docs state that the data type should be T | undefined. In our codebase however, data is not optional (see image), it is just T.
Does anyone know why this is the case?
do you have strictNullChecks/strict enabled?