Issue error when tagging templates and decorating with only-constructable entities#10506
Merged
Conversation
Contributor
|
I don't get why it has to have both call signature and constructor signatures. Would having just call signatures not enough? |
| // but is a subtype of the Function interface, the call is an untyped function call. In an | ||
| // untyped function call no TypeArgs are permitted, Args can be any argument list, no contextual | ||
|
|
||
| // TS 1.0 Spec: 4.12 |
Contributor
There was a problem hiding this comment.
Also you may want to update spec section. it is 4.15
Member
Author
|
@yuit I guess the idea was always that if you have any call/construct signatures, you probably should have an appropriate signature for the call. Otherwise, if all you know is that something's a |
Contributor
|
👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10454.
@yuit @rbuckton can you review?