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:
413 bytes
|
Line | |
---|
1 | import { List } from '../List/List';
|
---|
2 | /**
|
---|
3 | * Alias to create a [[Function]]
|
---|
4 | * @param P parameters
|
---|
5 | * @param R return type
|
---|
6 | * @returns [[Function]]
|
---|
7 | * @example
|
---|
8 | * ```ts
|
---|
9 | * import {F} from 'ts-toolbelt'
|
---|
10 | *
|
---|
11 | * type test0 = F.Function<[string, number], boolean>
|
---|
12 | * /// (args_0: string, args_1: number) => boolean
|
---|
13 | * ```
|
---|
14 | */
|
---|
15 | export declare type Function<P extends List = any, R extends any = any> = (...args: P) => R;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.