benjspriggs/require-types

Add tests for simple ES2015 AMD modules

Opened this issue · 0 comments

Something like this, being translated into readable Typescript:

// a require.js module
define(["import"], function (name) {
  return function NamedFunction(args) {
    var self = this;
    this.x = 24;
  };
});