diff --git a/index.d.ts b/index.d.ts index b6ac4ee..c1c64e7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -536,7 +536,7 @@ declare module "jessquery" { * .wait(500).text("Goodbye, world!") // Text is blue * // This is missing the point of JessQuery. Just put each method in sequence. */ - defer: (fn: (element: DomProxy) => Promise | void) => DomProxy + defer: (fn: (element: DomProxy) => Promise | void) => DomProxy /** * Fetches a JSON resource from the provided URL and applies a transformation function which uses the fetched JSON and the proxy's target element as arguments. @@ -1445,7 +1445,7 @@ declare module "jessquery" { * display.html(``, true).do(fetchDog) * }) */ - do: (fn: (el: DomProxy) => Promise | void) => DomProxyCollection + do: (fn: (el: DomProxy) => Promise | void) => DomProxyCollection /** * Schedules a function for deferred execution on all of the elements. This will push the operation to the very end of the internal event loop. @@ -1489,7 +1489,7 @@ declare module "jessquery" { * // This is missing the point of JessQuery. Just put each method in sequence. */ defer: ( - fn: (el: DomProxyCollection) => Promise | void + fn: (el: DomProxyCollection) => Promise | void ) => DomProxyCollection /**