Type hint FormBuilder

Add type hints for the whole file