@makano/rew 1.2.67 → 1.2.68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runtime.d.ts +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.2.67",
3
+ "version": "1.2.68",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "main.js",
6
6
  "directories": {
package/runtime.d.ts CHANGED
@@ -940,4 +940,11 @@ declare const DECORATORS: any;
940
940
  declare function using(fn: any, ...args: any[]): any;
941
941
 
942
942
  declare function wait(fn: CallableFunction, ...args: any[]): any;
943
- declare function clear(): void;
943
+ declare function clear(): void;
944
+
945
+ declare class Usage<T = () => void> {
946
+ name: string;
947
+ trigger: T;
948
+ constructor(name: string, trigger: T);
949
+ create(name: string, trigger: T): Usage;
950
+ }