[REF] run prettier

This commit is contained in:
Samuel Degueldre
2021-12-02 13:13:23 +01:00
committed by Géry Debongnie
parent 307b936d01
commit 150d620b8e
6 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -767,7 +767,7 @@ export async function mount<T extends Type<Component>>(
const { env, props, target } = params;
let origEnv = C.hasOwnProperty("env") ? (C as any).env : null;
if (env) {
((C as any) as typeof Component).env = env;
(C as any as typeof Component).env = env;
}
const component: Component = new C(null, props);
if (origEnv) {