@swerr/core 0.0.3 → 0.0.4
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SwerrScheme } from "./swerr-scheme.js";
|
|
1
2
|
/**
|
|
2
3
|
* SwerrConfig interface defines the configuration structure for the Swerr tool.
|
|
3
4
|
*/
|
|
@@ -28,4 +29,4 @@ export interface ConverterConfig<CFG> {
|
|
|
28
29
|
factory: ConverterFn<CFG>;
|
|
29
30
|
config: CFG;
|
|
30
31
|
}
|
|
31
|
-
export type ConverterFn<CFG> = (config: CFG) => Promise<void>;
|
|
32
|
+
export type ConverterFn<CFG> = (config: CFG, scheme: SwerrScheme) => Promise<void>;
|