fix(resolve): remove redundant anonymous wrapper