Skip to content

Instantly share code, notes, and snippets.

@dherman
Created November 20, 2012 01:49
Show Gist options
  • Save dherman/4115440 to your computer and use it in GitHub Desktop.
Save dherman/4115440 to your computer and use it in GitHub Desktop.
Using just import and destructuring to bind modules and their exports.
import y = module("bar");
import { y } = module("bar");
import yy = module("bar").y;
import { y: yy } = module("bar");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment