Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Null return value type in code example (facebookarchive#2429)
Summary: **Summary** TypeScript threw this error when I attempted to copy and paste in my code: ``` Type 'null' is not assignable to type 'string'.ts(2322) ``` The `getDefaultKeyBinding()` method may return null. So I added `| null` to the return type declaration. Just thought it would help others who may also be copying/pasting the code! **Test Plan** No testing required. Pull Request resolved: facebookarchive#2429 Reviewed By: kedromelon Differential Revision: D21652264 Pulled By: mrkev fbshipit-source-id: c820028da1ec6eb17055aceb5a751f7d01636b83
- Loading branch information