Skip to content

Commit 11b24a0

Browse files
Vladimir Upirovvengrov
authored andcommitted
fix EnablePromises method for TypeScript (#37)
1 parent 937f705 commit 11b24a0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

libs/backendless.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ declare module __Backendless {
3535
**/
3636
function setUIState(state:string):void;
3737

38+
/**
39+
* @public
40+
* @type: Function
41+
**/
42+
function enablePromises():void;
43+
3844
/**
3945
* @namespace Backendless.Utils
4046
**/

tests/tsd.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ function testMain() {
1717

1818
Backendless.setUIState('state');
1919
Backendless.setUIState(null);
20+
Backendless.enablePromises();
2021
}
2122

2223
function testUtils() {

0 commit comments

Comments
 (0)