Skip to content

Include type predicate information for functions#83

Open
trevordixon wants to merge 1 commit into
runem:masterfrom
trevordixon:master
Open

Include type predicate information for functions#83
trevordixon wants to merge 1 commit into
runem:masterfrom
trevordixon:master

Conversation

@trevordixon
Copy link
Copy Markdown

And compare them for assignability. (Notice the commented out function test case.)

Hope this looks OK! I'm new to this.

@trevordixon
Copy link
Copy Markdown
Author

Oh, I just noticed it no longer builds (even though tests pass). getTypePredicateOfSignature wasn't exposed until TypeScript 4.4. Bumping TypeScript introduces new errors which I fixed, until I ran into an error in @wessberg/rollup-plugin-ts. Bumping that version doesn't resolve the error, so I'm a little stuck. Advice welcome!

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.

1 participant