Cast type const a = (expr as any) as T;