Since this fix, I'm getting the following issue inside a generated factory:
src/generated/factories/LinkToken__factory.ts(9,38): error TS2307: Cannot find module '.'
It appears this line is trying to import TransactionOverrides from the factories folder:
import { TransactionOverrides } from ".";
This works if the "." becomes ".."