Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SVC Codegen: Handle TSAsExpression when looking for the codegen decla…
…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
- Loading branch information