typeInformation: typeInformationContainingDefaultIncludes()

in src/algebraic-types.ts [151:184]


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

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

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