main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
269 bytes
|
Line | |
---|
1 | import { List } from './List';
|
---|
2 | /**
|
---|
3 | * Remove the first item out of a [[List]]
|
---|
4 | * @param L
|
---|
5 | * @returns [[List]]
|
---|
6 | * @example
|
---|
7 | * ```ts
|
---|
8 | * ```
|
---|
9 | */
|
---|
10 | export declare type Tail<L extends List> = L extends readonly [] ? L : L extends readonly [any?, ...infer LTail] ? LTail : L;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.