Created
April 14, 2015 23:00
-
-
Save ryanisinallofus/5d609d04e9af517ccc0d to your computer and use it in GitHub Desktop.
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
var getItem = function(key: string): Object { | |
return JSON.parse(localStorage.getItem(key)); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/Users/richardray/Projects/Ployer/web/src/data.js:29:20,44: null
This type is incompatible with
/private/var/folders/7j/drgd5b893rq8yfskz1xvgfyr0000gn/T/flow_richardray/flowlib_2007b367/lib/core.js:271:24,29: string
/Users/richardray/Projects/Ployer/web/src/data.js:29:20,44: undefined
This type is incompatible with
/private/var/folders/7j/drgd5b893rq8yfskz1xvgfyr0000gn/T/flow_richardray/flowlib_2007b367/lib/core.js:271:24,29: string
Found 2 errors