mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
add Stamplay.init definition for setting the app ID
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/// <reference path="stamplay-js-sdk.d.ts" />
|
||||
|
||||
Stamplay.init('sample');
|
||||
var userFn = Stamplay.User();
|
||||
var user = new userFn.Model;
|
||||
var colTags = Stamplay.Cobject('tag');
|
||||
|
||||
Vendored
+1
@@ -26,6 +26,7 @@ declare module Stamplay {
|
||||
}
|
||||
|
||||
export interface StamplayStatic {
|
||||
init(appId : string) : void;
|
||||
User() : IStamplayObject
|
||||
Cobject(object : string) : IStamplayObject
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user