To remedy this, I added the DefinitelyTyped d.ts file for RequireJS. Many thanks to Wouter de Kort and Utkarsh Shigihalli for reporting this, and to David Corbin for helping me beta test this fix!
Now, this release wasn't just a hotfix. There were several other enhancements and updates that made it in, thanks to suggestions from my friend Max Knor:
- Changed PowerShell execution to PowerShell3 in task.json
- Included vsts-task-sdk in Build/Release Task template
- Added Trace-VstsEnteringInvocation and Trace-VstsExitingInvocation to example task PowerShell scripts
- Updated versions for Grunt, Jasmine
For some great contributions to the VSTS extension pool, check out Max's extensions on the VS Marketplace:
Patching previous versions
If you've run into a roadblock with running or building your existing extension project, the easiest way to get back on track is to create a folder under the typings folder in the project for requirejs, and in that folder place a copy of the require.d.ts file:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/requirejs/require.d.ts
If you've run into a roadblock with running or building your existing extension project, the easiest way to get back on track is to create a folder under the typings folder in the project for requirejs, and in that folder place a copy of the require.d.ts file:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/requirejs/require.d.ts