mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Fixed nullability in qtip2.d.ts. Fixed style tests in qtip2-tests.ts
This commit is contained in:
@@ -398,7 +398,7 @@ function testStyleProperty() {
|
||||
});
|
||||
|
||||
$a.qtip({
|
||||
show: {
|
||||
style: {
|
||||
classes: false,
|
||||
width: 24,
|
||||
height: 24,
|
||||
@@ -407,7 +407,7 @@ function testStyleProperty() {
|
||||
});
|
||||
|
||||
$a.qtip({
|
||||
show: {
|
||||
style: {
|
||||
classes: false,
|
||||
width: false,
|
||||
height: false,
|
||||
@@ -423,7 +423,7 @@ function testStyleProperty() {
|
||||
});
|
||||
|
||||
$a.qtip({
|
||||
show: {
|
||||
style: {
|
||||
tip: {
|
||||
corner: true,
|
||||
mimic: true,
|
||||
@@ -433,7 +433,7 @@ function testStyleProperty() {
|
||||
});
|
||||
|
||||
$a.qtip({
|
||||
show: {
|
||||
style: {
|
||||
tip: { }
|
||||
}
|
||||
});
|
||||
|
||||
4
qtip2/qtip2.d.ts
vendored
4
qtip2/qtip2.d.ts
vendored
@@ -98,8 +98,8 @@ declare module QTip2 {
|
||||
classes?: string | boolean;
|
||||
def?: boolean;
|
||||
widget?: boolean;
|
||||
width: string | number | boolean;
|
||||
height: string | number | boolean;
|
||||
width?: string | number | boolean;
|
||||
height?: string | number | boolean;
|
||||
tip?: string | boolean | Tip;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user