document TypeConfig class