Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support async functions in CheckMissingReturn
For async functions, if the declared type in JSDoc is Promise<T> or IThenable<T>, we will use T as the declared return type. Otherwise we treat the declared return type as unknown. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202339849
- Loading branch information
1 parent
3edafa4
commit 0e46738
Showing
2 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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