Add inlineTypoidP and export getTypoid