mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Rename to form-serializer, add additional module
Renames the definition to form-serializer to stick to the npm naming instead of bower. Adds an additional module to fit the npm name.
This commit is contained in:
parent
7f567137d5
commit
d58f3d7c1b
@ -1,4 +1,4 @@
|
||||
/// <reference path="jquery-serialize-object.d.ts" />
|
||||
/// <reference path="form-serializer.d.ts" />
|
||||
|
||||
$("#form").serializeObject();
|
||||
$("#form").serializeJSON();
|
||||
@ -23,6 +23,10 @@ declare module "jquery-serialize-object" {
|
||||
export = FormSerializer;
|
||||
}
|
||||
|
||||
declare module "form-serializer" {
|
||||
export = FormSerializer;
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
|
||||
/**
|
||||
Loading…
Reference in New Issue
Block a user