11 lines
265 B
TypeScript
11 lines
265 B
TypeScript
|
declare function $(selector: string): $;
|
||
|
interface $ {
|
||
|
addClass(className: string): $;
|
||
|
}
|
||
|
module $ {
|
||
|
export interface AjaxSettings {
|
||
|
}
|
||
|
export function ajax(options: AjaxSettings) { }
|
||
|
}
|
||
|
var it: $ = $('.foo').addClass('bar');
|