main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
428 bytes
|
Line | |
---|
1 | import { _Omit } from '../Object/Omit';
|
---|
2 | import { _Pick } from '../Object/Pick';
|
---|
3 | import { Length } from './Length';
|
---|
4 | import { List } from './List';
|
---|
5 | /**
|
---|
6 | * Transform a [[List]] into an [[Object]] equivalent
|
---|
7 | * @param L to transform
|
---|
8 | * @returns [[Object]]
|
---|
9 | * @example
|
---|
10 | * ```ts
|
---|
11 | * ```
|
---|
12 | */
|
---|
13 | export declare type ObjectOf<O extends List> = O extends unknown ? number extends Length<O> ? _Pick<O, number> : _Omit<O, keyof any[]> : never;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.