typeInformation: typeInformationContainingDefaultIncludes()

in src/object-specs.ts [138:171]


            typeInformation: typeInformationContainingDefaultIncludes(
              pathAndTypeInfo.typeInformation,
              creationContext.defaultIncludes,
            ),
          };

          return ObjectSpecCreation.fileWriteRequest(
            request,
            creationContext.plugins,
          );
        },
        creationContextEither);
      }, either),
    );
  },
  future);
}

function pluginsFromPluginConfigs(
  pluginConfigs: List.List<Configuration.PluginConfig>,
): Either.Either<Error.Error[], List.List<ObjectSpec.Plugin>> {
  return List.foldr(
    function (
      soFar: Either.Either<Error.Error[], List.List<ObjectSpec.Plugin>>,
      config: Configuration.PluginConfig,
    ): Either.Either<Error.Error[], List.List<ObjectSpec.Plugin>> {
      return Either.mbind(function (
        list: List.List<ObjectSpec.Plugin>,
      ): Either.Either<Error.Error[], List.List<ObjectSpec.Plugin>> {
        return Either.map(function (
          maybePlugin: ObjectSpec.Plugin | null,
        ): List.List<ObjectSpec.Plugin> {
          return Maybe.match(
            function (plugin: ObjectSpec.Plugin) {