Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Enumerable.Flatten should have a strong type instead of object. #3

@jrockwood

Description

@jrockwood

This is the current code:

[InlineCode("{$System.Linq.Enumerable}.from({source}).flatten()")]
public static LinqJSEnumerable<object> Flatten(this IEnumerable<object> source);

It would be chainable and more usefult to add <T> instead of defaulting to object.

[InlineCode("{$System.Linq.Enumerable}.from({source}).flatten()")]
public static LinqJSEnumerable<T> Flatten<T>(this IEnumerable<T> source);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions