mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00: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: { }
|
||||
}
|
||||
});
|
||||
|
||||
Vendored
+2
-2
@@ -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