@makano/rew 1.2.67 → 1.2.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
+ }