document expected type of text argument with a hint