DefinitelyTyped/types/jquery-next-id/index.d.ts
2018-05-07 09:20:53 -07:00

23 lines
523 B
TypeScript

// Type definitions for jquery-next-id 1.0
// Project: https://github.com/makeup-jquery/jquery-next-id
// Definitions by: Anderson Friaça <https://github.com/AndersonFriaca>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery" />
export interface JQueryNextId {
(prefix?: string): JQuery;
defaults: {
prefix: string;
separator: string;
};
}
declare global {
interface JQuery {
nextId: JQueryNextId;
}
}