mirror of https://github.com/fantasticit/think.git
7 lines
208 B
TypeScript
7 lines
208 B
TypeScript
|
import type { IUser } from "@think/share";
|
||
|
import { HttpClient } from "./HttpClient";
|
||
|
|
||
|
export const register = (data: Partial<IUser>): Promise<IUser> => {
|
||
|
return HttpClient.post("/user/register", data);
|
||
|
};
|