chore: move type lowering functions to CoreM (#9064)

1 file changed