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 (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
- Loading branch information