UNPKG
@sudoo/pattern
Version:
latest (1.10.0)
1.10.0
1.9.0
1.8.0
1.7.0
1.6.1
1.6.0
1.5.0
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
Pattern Structure for TypeScript
github.com/SudoDotDog/Sudoo-Pattern
SudoDotDog/Sudoo-Pattern
@sudoo/pattern
/
common.d.ts
8 lines
(7 loc)
•
225 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
declare
type
CommonPattern
= {
readonly
role
?:
string
;
readonly
optional
?:
boolean
;
readonly
nullable
?:
boolean
;
readonly
generate
?:
() =>
any
;
readonly
invalidMessage
?:
(
value
?:
any
) =>
string
; };