docs: function getSuggestedFieldNames(
    schema: GraphQLSchema,
    type: GraphQLOutputType,
    fieldName: string,
  ): Array<string> {
    if (isObjectType(type) || isInterfaceType(type)) {
      const possibleFieldNames = Object.keys(type.getFields());
      return suggestionList(fieldName, possibleFieldNames);
    }
    // Otherwise, must be a Union type, which does not define fields.
    return [];
  }