//·························································· // Copyright (c) 2023-2026. Jonathan Bédard ~ JóôòKiwi // // This project is free to use. // All the right is reserved to the author of this project. // My projects: // - https://github.com/joooKiwi/type // - https://github.com/joooKiwi/lazy // - https://github.com/joooKiwi/collection // - https://github.com/joooKiwi/enumeration //·························································· import type {Enumerable} from "./Enumerable" import type {EnumerableWithGrandParent} from "./EnumerableWithGrandParent" import type {EnumerableWithNullableGreatGrandParent} from "./EnumerableWithNullableGreatGrandParent" import type {EnumerableWithParent} from "./EnumerableWithParent" import type {PossibleNameOf} from "./type/nameOf" import type {PossibleOrdinalOf} from "./type/ordinalOf" export interface EnumerableWithGreatGrandParent, out GRAND_PARENT extends EnumerableWithParent, out GREAT_GRAND_PARENT extends Enumerable, out ORDINAL extends PossibleOrdinalOf = PossibleOrdinalOf, out NAME extends PossibleNameOf = PossibleNameOf, > extends EnumerableWithGrandParent, EnumerableWithNullableGreatGrandParent { /** The parent of the current instance */ readonly parent: PARENT /** The grandparent of the current instance */ readonly grandParent: GRAND_PARENT /** The great-grandparent of the current instance */ readonly greatGrandParent: GREAT_GRAND_PARENT }