🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@voya-kit/ts-tools

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voya-kit/ts-tools

voya typescript tools

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

@voya-kit/ts-tools

类型别名描述定义
AnyPromiseFunction任意类型的异步函数type AnyPromiseFunction = (...args: any[]) => PromiseLike<any>;
AnyNormalFunction任意类型的普通函数type AnyNormalFunction = (...args: any[]) => any;
AnyFunction任意类型的函数(包括异步和普通)`type AnyFunction = AnyNormalFunction
Nullable<T>允许 T 类型或 null`type Nullable = T
NonNullable<T>排除了 nullundefinedT 类型`type NonNullable = T extends null
Recordable<T>字符串键的对象,值为 T 类型type Recordable<T> = Record<string, T>;
ReadonlyRecordable<T>只读的字符串键的对象,值为 T 类型interface ReadonlyRecordable<T = any> { readonly [key: string]: T; }
TimeoutHandlesetTimeout 的返回类型type TimeoutHandle = ReturnType<typeof setTimeout>;
IntervalHandlesetInterval 的返回类型type IntervalHandle = ReturnType<typeof setInterval>;

Keywords

voya

FAQs

Package last updated on 12 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts