typehint here? (not sure if it's possible though)