Fixed implicit typings

This commit is contained in:
Dale Anderson
2016-01-13 13:29:06 -08:00
parent dfb310d80e
commit 54aae4b326
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -18,24 +18,24 @@ mobileApp.tables.add('todoitem', {
mobileApp.api.add('customApi', {
authorize: true,
post: function (req, res, next) {
post: function (req: any, res: any, next: any) {
next();
},
patch: [function (req, res, next) {}, function (req, res, next) {}]
patch: [function (req: any, res: any, next: any) {}, function (req: any, res: any, next: any) {}]
})
mobileApp.use(function (req, res, next) {
mobileApp.use(function (req: any, res: any, next: any) {
next();
});
var table = mobileApp.table()
table.read(function (context) {
return context.execute().then(function (result) {
return context.execute().then(function (result: any) {
return result;
});
});
table.use(function (req, res, next) {
table.use(function (req: any, res: any, next: any) {
next(new Error());
});
+1 -1
View File
@@ -131,7 +131,7 @@ declare module AzureMobileApps {
platform?: string;
basePath?: string;
configFile?: string;
promiseConstructor?: (resolve: (result) => void, reject: (error) => void) => Thenable<any>;
promiseConstructor?: (resolve: (result: any) => void, reject: (error: any) => void) => Thenable<any>;
apiRootPath?: string;
tableRootPath?: string;
notificationRootPath?: string;