Skip to content

fix(matrix): union return type for function invert#801

Merged
pissang merged 1 commit into
ecomfe:masterfrom
baojd42:fix-invert-return-type
Aug 19, 2021
Merged

fix(matrix): union return type for function invert#801
pissang merged 1 commit into
ecomfe:masterfrom
baojd42:fix-invert-return-type

Conversation

@baojd42
Copy link
Copy Markdown

@baojd42 baojd42 commented Aug 19, 2021

tsc complains about the return type of function invert with strictNullChecks enabled.

image

The return type is altered to a union type.

Typescript version: 4.3.4

@pissang pissang merged commit 26cf408 into ecomfe:master Aug 19, 2021
@baojd42 baojd42 deleted the fix-invert-return-type branch August 20, 2021 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants