// Type definitions for linq.jquery (from linq.js)
// Project: http://linqjs.codeplex.com/
// Definitions by: neuecc (http://www.codeplex.com/site/users/view/neuecc)

/// <reference path="../jquery/jquery.d.ts"/>
/// <reference path="linq.d.ts"/>

declare module linqjs {
    interface Enumerable {
        tojQuery(): JQuery;
        tojQueryAsArray(): JQuery;
    }
}

interface JQuery {
    toEnumerable(): linqjs.Enumerable;
}

interface JQueryStatic {
    Enumerable: linq.EnumerableStatic;
}
