typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
26 lines (21 loc) • 667 B
TypeScript
// Type definitions for jQuery.jNotify 1.0
// Project: http://jnotify.codeplex.com
// Definitions by: James Curran <https://github.com/jamescurran/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
// Project by: Fabio Franzini
/// <reference path='../jquery/jquery.d.ts'/>
interface JNotifyInitOptions {
oneAtTime?: boolean;
appendType?: string;
}
interface JNotifyOptions {
text?: string;
type?: string;
showIcon?: boolean;
permanent?: boolean;
disappearTime?: number;
}
interface JQuery {
jnotifyInizialize(options?: JNotifyInitOptions);
jnotifyAddMessage(options?: JNotifyOptions);
}