config: Verify that type assertions are valid