This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the type of getInjectedData to {?}.
Reasons: 1) It isn't statically verifiable. Even if you cast the result, it may not be true, as the injected data may change depending on server setup. Thus, you aren't protected from runtime errors so this isn't valuable for type checking. 2) It's not an API we can easily fix. We had to do cr/202516164 to fix local, but there are tons of users of this API. RELNOTES:n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=203045476
- Loading branch information