epii-types-rpa 1.0.1 → 1.0.2

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/rpa.d.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epii-types-rpa",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "rpa-types",
5
5
  "author": "MrRen",
6
6
  "license": "ISC",
package/rpa.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  namespace rpa {
2
+ function require(path:String):Promise;
2
3
  function success(data:any, exit:boolean);
3
4
  function exec(script:String, params:Object = {});
4
5
  function execPuppeteer(script:String, params:Object = {});
@@ -50,4 +51,6 @@ namespace rpa {
50
51
  function get(key:String = null):Promise;
51
52
  function set(map:Object):Promise;
52
53
  }
53
- }
54
+ }
55
+
56
+ declare function require(path:String):Promise