Reviewed-on: #1 Co-authored-by: Clement <c.boesmier@aptatio.com> Co-committed-by: Clement <c.boesmier@aptatio.com>
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()
|
|
}
|
|
} |