Created
September 10, 2016 23:13
-
-
Save Codesleuth/d5cd1767ee9f461fd53674db121c98c6 to your computer and use it in GitHub Desktop.
Partial typings definitions for yayson. Ugly AF
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
declare module 'yayson' { | |
class Store { | |
sync(obj: Object): Object; | |
sync<T>(obj: Object): T; | |
} | |
interface Yayson { | |
Store: typeof Store; | |
} | |
function yayson(): Yayson; | |
namespace yayson {} | |
export = yayson; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment