Created
June 22, 2015 05:33
-
-
Save orodio/004fc9b36c5a895ad299 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
import { shape, str, num, bool } from "facts" | |
shape(thingToCheck, { | |
foo: str, | |
bar: num, | |
rawr: { | |
name: str, | |
age: num, | |
alive: bool | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment