@candlerip/shared3 0.0.40 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -7,8 +7,9 @@ export type AddInfo = (props: CustomError['info']) => void;
|
|
7
7
|
export type ComposeCustomError = (message: CustomError['message'], info?: CustomError['info']) => {
|
8
8
|
customError: CustomError;
|
9
9
|
};
|
10
|
-
export type GetInstance = (info: CustomError['info']) =>
|
10
|
+
export type GetInstance = (info: CustomError['info']) => CustomErrorWorkerInstance;
|
11
|
+
export type Init = (projectName: CustomError['projectName']) => void;
|
12
|
+
export type CustomErrorWorkerInstance = {
|
11
13
|
addInfo: AddInfo;
|
12
14
|
composeCustomError: ComposeCustomError;
|
13
15
|
};
|
14
|
-
export type Init = (projectName: CustomError['projectName']) => void;
|