fix: workaround for #2682 and #2422 by simply clearing the TypeError (#2685)

1 file changed