diff --git a/jquery.tools/index.d.ts b/jquery.tools/index.d.ts index 1ab90e260a..e511a961fd 100644 --- a/jquery.tools/index.d.ts +++ b/jquery.tools/index.d.ts @@ -62,7 +62,7 @@ declare namespace JQueryTools { * uses an effect called "default" which is a simple show/hide effect. * @default 'default' */ - effect?: 'default' | string; + effect?: string; /** * since 1.2.0. whether overlay stays in the same position while the screen * is scrolled. This is the default behaviour for all browsers except IE6 @@ -117,7 +117,7 @@ declare namespace JQueryTools { * is vertically centered. Percentage values work consistently at different screen resolutions. * @default '10%' */ - top?: 'center' | string | number; + top?: string | number; /** * before the overlay is displayed. The overlay has already been positioned at the diff --git a/jquery.tools/jquery.tools-tests.ts b/jquery.tools/jquery.tools-tests.ts index 44c1ddea64..f8a4e39f90 100644 --- a/jquery.tools/jquery.tools-tests.ts +++ b/jquery.tools/jquery.tools-tests.ts @@ -29,7 +29,7 @@ $(".my_overlay_trigger").overlay({ // one configuration property mask: { - color: '#ccc' + color: '#ccc' }, // another property top: 50