UNPKG
blueprintjs-core
Version:
latest (3.46.0)
3.46.0
Core styles & components
github.com/palantir/blueprint
palantir/blueprint
blueprintjs-core
/
lib
/
esm
/
common
/
context.d.ts
7 lines
(6 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
type
Validator
<K> =
(
props
: { [key:
string
]:
any
; },
propName
: K,
componentName
:
string
,
location
:
string
,
propFullName
:
string
) =>
Error
|
undefined
;
export
declare
type
ValidationMap
<T> = { [K
in
keyof T]?:
Validator
<K>; };