Sample code for the Khan Academy blog about statically typed context
Do you want to download the README.md file for typed-context?