borisyankov/DefinitelyTyped — pull request #147 by david-driscoll (2012-12-30 19:33:39+00:00)
Title: Updated RequireJS definition to support error callbacks

Updated RequireJS definition to support error callbacks.
In addition exposed a RequireError interface, with the potential values of the param passed to the error callback.
Also added overload for require(module : string), so that require can potentially be used inline mode.