UNPKG
nodito
Version:
latest (0.0.1)
0.0.1
Una librería para aprender juegos por turnos en node.
emilioastarita/nodito
nodito
/
dist
/
utils.d.ts
5 lines
(4 loc)
•
268 B
TypeScript
View Raw
1
2
3
4
5
export
declare
function
sign
(
secret
:
string
,
str
:
string
):
string
;
export
declare
function
randomId
(
):
string
;
export
declare
function
isValidUserName
(
name
:
string
):
boolean
;
export
declare
function
notEmpty<
TValue
>(
value
:
TValue
|
null
|
undefined
): value is
TValue
;