[jquery] No null.

This commit is contained in:
Leonard Thieu
2017-06-27 08:12:06 -04:00
parent 11f6048075
commit 8ec10d94be
2 changed files with 2 additions and 2 deletions

View File

@@ -2330,7 +2330,7 @@ interface JQuery<TElement extends Node = HTMLElement> {
* @see {@link https://api.jquery.com/val/}
* @since 1.0
*/
val(): string | number | string[] | null | undefined;
val(): string | number | string[] | undefined;
/**
* Set the CSS width of each element in the set of matched elements.
*

View File

@@ -3028,7 +3028,7 @@ function JQuery() {
return 'myVal';
});
// $ExpectType string | number | string[] | null | undefined
// $ExpectType string | number | string[] | undefined
$('p').val();
}
}