Bug fixes
This commit is contained in:
7
public/js-source/SomeModule.ts
Normal file
7
public/js-source/SomeModule.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import {getUserInfo} from './utils/utils';
|
||||
|
||||
export async function getUserName(): Promise<string> {
|
||||
const info = await getUserInfo();
|
||||
return info?.name ?? "No name found!";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user