Skip to content

Commit c0f5f26

Browse files
committed
Update src/Libraries/jQuery/jQuery.Core/jQueryAjaxOptions.cs
1 parent 493172e commit c0f5f26

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/Libraries/jQuery/jQuery.Core/jQueryAjaxOptions.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ public jQueryAjaxOptions(params object[] nameValuePairs) {
3636
/// Gets or sets the content type sent in the request header that tells the server what kind of response it will accept in return.
3737
/// </summary>
3838
[IntrinsicProperty]
39-
public Dictionary Accepts {
39+
public Dictionary<string, string> Accepts {
4040
get {
41-
return false;
41+
return null;
4242
}
4343
set {
4444
}
@@ -97,9 +97,9 @@ public AjaxCompletedCallback Complete {
9797
/// Gets or sets a map of string/regular-expression pairs that determine how jQuery will parse the response, given its content type.
9898
/// </summary>
9999
[IntrinsicProperty]
100-
public Dictionary Contents {
100+
public Dictionary<string, RegularExpression> Contents {
101101
get {
102-
return false;
102+
return null;
103103
}
104104
set {
105105
}
@@ -133,9 +133,9 @@ public Element Context {
133133
/// Gets or sets a map of dataType-to-dataType converters.
134134
/// </summary>
135135
[IntrinsicProperty]
136-
public Dictionary Converters {
136+
public Dictionary<string, Func<string, object>> Converters {
137137
get {
138-
return false;
138+
return null;
139139
}
140140
set {
141141
}
@@ -205,9 +205,9 @@ public bool Global {
205205
/// Gets or sets if a map of additional header key/value pairs to send along with the request.
206206
/// </summary>
207207
[IntrinsicProperty]
208-
public Dictionary Headers {
208+
public Dictionary<string, string> Headers {
209209
get {
210-
return false;
210+
return null;
211211
}
212212
set {
213213
}
@@ -315,7 +315,7 @@ public string ScriptCharset {
315315
/// Gets or sets a map of numeric HTTP codes and functions to be called when the response has the corresponding code.
316316
/// </summary>
317317
[IntrinsicProperty]
318-
public Dictionary StatusCode {
318+
public Dictionary<int, Action> StatusCode {
319319
get {
320320
return null;
321321
}

0 commit comments

Comments
 (0)