We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b367b22 commit 81491cdCopy full SHA for 81491cd
index.d.ts
@@ -1,11 +1,12 @@
1
-interface R {
2
- data(...args: any[]): R;
3
- call(_opts?: R.Options): Promise<object>;
4
- callSync(_opts?: R.Options): object;
5
-}
6
-declare namespace R {
+declare module '@fridgerator/r-script' {
7
interface Options {
8
- [key: string]: any;
+ [key: string]: any
+ }
+
+ export class R {
+ constructor(path: string, env?: Options);
+ data (...args: any[]): R;
9
+ call (_opts?: Options): Promise<object>;
10
+ callSync (_opts?: Options): object | undefined;
11
}
12
-export = R;
0 commit comments