mirror of
https://github.com/usatiuk/photos.git
synced 2025-10-28 15:27:49 +01:00
10 lines
288 B
TypeScript
10 lines
288 B
TypeScript
export declare namespace errorUtil {
|
|
type ErrMessage = string | {
|
|
message?: string;
|
|
};
|
|
const errToObj: (message?: ErrMessage | undefined) => {
|
|
message?: string | undefined;
|
|
};
|
|
const toString: (message?: ErrMessage | undefined) => string | undefined;
|
|
}
|