12 lines
275 B
TypeScript
12 lines
275 B
TypeScript
import { SiteConfig } from "../../../types";
|
|
type Params = {
|
|
userId?: string | number;
|
|
newConfig?: SiteConfig;
|
|
};
|
|
type Return = {
|
|
success?: boolean;
|
|
msg?: string;
|
|
};
|
|
export default function updateUserConfig({ newConfig, userId, }: Params): Return;
|
|
export {};
|