This website works better with JavaScript.
Explore
Help
Register
Sign In
keejef
/
session-desktop
mirror of
https://github.com/oxen-io/session-desktop
Watch
2
Star
0
Fork
You've already forked session-desktop
0
Code
Issues
8
Projects
Releases
Wiki
Activity
449f44cc5a
session-desktop
/
js
/
modules
/
deferred_to_promise.d.ts
4 lines
96 B
TypeScript
Raw
Normal View
History
Unescape
Escape
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.
7 years ago
export
function
deferredToPromise
<
T
>
(
deferred
:
JQuery.Deferred
<
any
,
any
,
any
>
)
:
Promise
<
T
>
;