/**
* Created by shearerbeard on 6/28/15.
*/
///
import Alt = require("alt");
//New alt instance
var alt = new Alt();
//Interfaces for our Action Types
interface TestActionsGenerate {
notifyTest(str:string):void;
}
interface TestActionsExplicit {
doTest(str:string):void;
success():void;
error():void;
loading():void;
}
//Create abstracts to inherit ghost methods
class AbstractActions implements AltJS.ActionsClass {
constructor( alt:AltJS.Alt){}
actions:any;
dispatch: ( ...payload:Array) => void;
generateActions:( ...actions:Array) => void;
}
class AbstractStoreModel implements AltJS.StoreModel {
bindActions:( ...actions:Array