@types/once
- Version 1.4.5
- Published
- 7.33 kB
- No dependencies
- MIT license
Install
npm i @types/once
yarn add @types/once
pnpm add @types/once
Overview
TypeScript definitions for once
Index
Variables
variable once
const once: Once;
Interfaces
interface FnProps
interface FnProps<R> {}
interface OnceFn
interface OnceFn {}
call signature
<R>(f: () => R): (() => R) & FnProps<R>;
call signature
<T1, R>(f: (t1: T1) => R): ((t1: T1) => R) & FnProps<R>;
call signature
<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>( f: ( t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10 ) => R): (( t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10) => R) & FnProps<R>;
call signature
<R>(f: (...args: any[]) => R): ((...args: any[]) => R) & FnProps<R>;
call signature
<T1, T2, R>(f: (t1: T1, t2: T2) => R): ((t1: T1, t2: T2) => R) & FnProps<R>;
call signature
<T1, T2, T3, R>(f: (t1: T1, t2: T2, t3: T3) => R): (( t1: T1, t2: T2, t3: T3) => R) & FnProps<R>;
call signature
<T1, T2, T3, T4, R>(f: (t1: T1, t2: T2, t3: T3, t4: T4) => R): (( t1: T1, t2: T2, t3: T3, t4: T4) => R) & FnProps<R>;
call signature
<T1, T2, T3, T4, T5, R>(f: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): (( t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R) & FnProps<R>;
call signature
<T1, T2, T3, T4, T5, T6, R>( f: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6) => R): ((t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6) => R) & FnProps<R>;
call signature
<T1, T2, T3, T4, T5, T6, T7, R>( f: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7) => R): ((t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7) => R) & FnProps<R>;
call signature
<T1, T2, T3, T4, T5, T6, T7, T8, R>( f: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8) => R): ((t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8) => R) & FnProps<R>;
call signature
<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>( f: ( t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9 ) => R): (( t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9) => R) & FnProps<R>;
Namespaces
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/once
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/once)
- HTML<a href="https://www.jsdocs.io/package/@types/once"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1548 ms. - Missing or incorrect documentation? Open an issue for this package.