UNPKG
@hazae41/plume
Version:
latest (3.0.7)
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.12
2.1.10
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.1
1.0.0
Typed async events with sequenced and parallel dispatching
github.com/hazae41/plume
hazae41/plume
@hazae41/plume
/
dist
/
types
/
libs
/
parameters
/
index.d.ts
7 lines
(5 loc)
•
186 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Like `Parameters<T>` but fixed */
type
WeakParameters
<T
extends
(...
args
:
any
) =>
any
> = (T
extends
(...
args
: infer P) =>
any
? [P] :
never
)[
0
];
export
type
{
WeakParameters
};