generated from tailored/router-template
8 lines
239 B
TypeScript
8 lines
239 B
TypeScript
// import { XhsClient } from '../src/index.js';
|
|
import { XhsClient } from '../dist/app';
|
|
import { cookie } from './common.ts';
|
|
const client = new XhsClient({ cookie } as any);
|
|
client.getSelfInfoV2().then((res) => {
|
|
console.log(res);
|
|
});
|