fix(types): preserve defineModel inference with factory defaults (#15097)