- I created a new TypeScript project.
- Created a folder called types
- Downloaded jquery.d.ts from https://github.com/borisyankov/DefinitelyTyped/tree/master/jquery and placed it in the folder.
If I create a new TypeScript file and drag jquery.d.ts onto the document, such that the only thing at the top of the page is.
/// <reference path="types/jquery.d.ts" />
I get 101 Errors. Starting from the top of jquery.d.ts - VS has a problem with boolean in the async?: boolean; line.
interface JQueryAjaxSettings {
accepts?: any;
async?: boolean;
What am I doing wrong here, I'm assuming that jquery.d.ts has some form of dependency, but I don't know where to start?