varsnap 1.10.0 → 1.11.0

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.
package/dist/index.d.ts CHANGED
@@ -20,11 +20,9 @@ declare class Producer {
20
20
  static serialize_formatted(data: TargetFunctionInput[] | TargetFunctionOutput): string;
21
21
  produce(args: TargetFunctionInput[], output: TargetFunctionOutput): Promise<boolean>;
22
22
  }
23
- declare const _default: typeof core.varsnap;
24
23
  declare function runTests(): Promise<boolean>;
25
24
  declare function varsnap(func: TargetFunction, funcName?: string): TargetFunction | WrappedFunction;
26
- export = _default;
27
- export declare namespace varsnap {
25
+ declare namespace varsnap {
28
26
  var _config: Config;
29
27
  var updateConfig: (newConfig: Config) => void;
30
28
  var reset: () => void;
@@ -67,3 +65,7 @@ export interface WrappedFunction {
67
65
  export type TargetFunctionInput = any;
68
66
  export type TargetFunctionOutput = any;
69
67
 
68
+ export {
69
+ varsnap as default,
70
+ };
71
+