source: node_modules/ts-toolbelt/out/Function/_Internal.d.ts@ d24f17c

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: 416 bytes
Line 
1/**
2 * Describes function modes
3 * `sync` : Normal function
4 * `async`: Promised result
5 */
6export declare type Mode = 'sync' | 'async';
7/**
8 * Describes function parameter input
9 * `multi`: ( a, b, c ... n ) => X
10 * `list` : ([a, b, c ... n]) => X
11 */
12export declare type Input = 'multi' | 'list';
13/**
14 * Describes types that can be narrowed
15 */
16export declare type Narrowable = string | number | bigint | boolean;
Note: See TracBrowser for help on using the repository browser.