Skip to content

[Master] Fix 11566 - Allow SFC to return null #14102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed

Conversation

yuit
Copy link
Contributor

@yuit yuit commented Feb 15, 2017

Fix #11566

@@ -344,7 +344,8 @@ namespace ts {
});
const typeofType = createTypeofType();

let jsxElementType: Type;
let getJsxElementType: () => Type;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I change this to use memoize so it is similar to how we handle other type (see below)....now to think about it, it may have additional cause of function call...

@yuit yuit closed this Feb 17, 2017
@yuit yuit deleted the master-11566 branch February 17, 2017 18:13
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants