-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
SVC Codegen: Handle TSAsExpression when looking for the codegen declaration #40860
Conversation
This pull request was exported from Phabricator. Differential Revision: D50225241 |
50bb010
to
adf44a6
Compare
This pull request was exported from Phabricator. Differential Revision: D50225241 |
…ration (facebook#40860) Summary: This diff adds support for the `AS` expression in TS sources. The following codegen declaration should work now: ``` export default codegenNativeComponent<NativeProps>( 'MyComponentView', ) as HostComponent<NativeProps>; ``` Changelog: [General][Added] - Handle TSAsExpression when looking for the codegen declaration Reviewed By: shwanton Differential Revision: D50225241
…ration (facebook#40860) Summary: This diff adds support for the `AS` expression in TS sources. The following codegen declaration should work now: ``` export default codegenNativeComponent<NativeProps>( 'MyComponentView', ) as HostComponent<NativeProps>; ``` Changelog: [General][Added] - Handle TSAsExpression when looking for the codegen declaration Reviewed By: shwanton Differential Revision: D50225241
adf44a6
to
2902cc5
Compare
This pull request was exported from Phabricator. Differential Revision: D50225241 |
This pull request was successfully merged by @dmytrorykun in 0295771. When will my fix make it into a release? | Upcoming Releases |
This pull request has been merged in 0295771. |
…ration (#40860) Summary: Pull Request resolved: #40860 This diff adds support for the `AS` expression in TS sources. The following codegen declaration should work now: ``` export default codegenNativeComponent<NativeProps>( 'MyComponentView', ) as HostComponent<NativeProps>; ``` Changelog: [General][Added] - Handle TSAsExpression when looking for the codegen declaration Reviewed By: shwanton Differential Revision: D50225241 fbshipit-source-id: 247a3d341d742b548e82318d0fa21dff9884d2bd
Summary:
This diff adds support for the
AS
expression in TS sources. The following codegen declaration should work now:Changelog: [General][Added] - Handle TSAsExpression when looking for the codegen declaration
Differential Revision: D50225241