mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Add "type" parameter to Select2AjaxOptions (#18792)
In order to support POST ajax requests, the type option is needed. Select2 supports this, though it may not be specifically documented.
This commit is contained in:
committed by
Mohamed Hegazy
parent
28f4decb25
commit
2f82f7f84e
1
types/select2/index.d.ts
vendored
1
types/select2/index.d.ts
vendored
@@ -24,6 +24,7 @@ interface Select2AjaxOptions {
|
||||
* Url to make request to, Can be string or a function returning a string.
|
||||
*/
|
||||
url?: any;
|
||||
type?: string;
|
||||
dataType?: string;
|
||||
delay?: number;
|
||||
headers?: any;
|
||||
|
||||
Reference in New Issue
Block a user