signal-desktop/js/modules/deferred_to_promise.d.ts
Scott Nonnenberg 754d65ae2e Let's make it all pretty, shall we?
We missed a couple directories with previous attempts to turn this on
globally: app/ and libtextsecure/

Not to mention files in places we didn't expect: ts files that weren't
in the ts directory!

This turns prettier on for every file we care about (js, ts, tsx, md)
everywhere in the project but for a few key parts.
2018-05-02 13:40:57 -07:00

3 lines
96 B
TypeScript

export function deferredToPromise<T>(
deferred: JQuery.Deferred<any, any, any>
): Promise<T>;