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:
284 bytes
|
Line | |
---|
1 | import { Exclude } from './Exclude';
|
---|
2 | import { Last } from './Last';
|
---|
3 | /**
|
---|
4 | * Remove an item out of `U`
|
---|
5 | * (⚠️ it might not preserve order)
|
---|
6 | * @param U to remove from
|
---|
7 | * @returns [[Union]]
|
---|
8 | * @example
|
---|
9 | * ```ts
|
---|
10 | * ```
|
---|
11 | */
|
---|
12 | export declare type Pop<U extends any> = Exclude<U, Last<U>>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.