UNPKG
ts-bus
Version:
latest (2.3.1)
next (3.0.0)
3.0.0
2.3.1
2.3.0
2.2.1
2.2.0
2.1.0
2.0.0
1.1.0
1.0.0
0.5.0
0.4.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.7
0.0.5
0.0.4
0.0.2
0.0.1
0.0.0
<p align="center"> <img src="logo.png" width="100" height="100"/> </p>
github.com/ryardley/ts-bus
ts-bus
/
foo.d.ts
2 lines
(1 loc)
•
142 B
TypeScript
View Raw
1
2
export
default
function
predicateCreator<T
extends
string
>(
strings
:
TemplateStringsArray
, ...
expressions
:
any
[]):
(
input
:
any
) =>
input is T;