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:
268 bytes
|
Line | |
---|
1 | import { List } from './List';
|
---|
2 | /**
|
---|
3 | * Add an element `A` at the beginning of `L`
|
---|
4 | * @param L to append to
|
---|
5 | * @param A to be added to
|
---|
6 | * @returns [[List]]
|
---|
7 | * @example
|
---|
8 | * ```ts
|
---|
9 | * ```
|
---|
10 | */
|
---|
11 | export declare type Prepend<L extends List, A extends any> = [
|
---|
12 | A,
|
---|
13 | ...L
|
---|
14 | ];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.