5 lines
122 B
TypeScript
5 lines
122 B
TypeScript
export default class AstroUtils {
|
|
public static async wrap<T = void>(fn: () => T | Promise<T>) {
|
|
return await fn()
|
|
}
|
|
} |