xux-types
v0.1.1
Published
XUX data validator.
Downloads
3
Maintainers
Readme
xux-types
Abstract
XUX data validator.
DON'T use this package if you don't know XUX or recore!
Install
npm install xux-types --save
Usage
// Foobar.api.ts
import xux from 'xux-types'
type Request = {
email: xux.Email
}
type Response = {
success: xux.Boolean
}
declare class Foobar {
updateEmail (req: Request) : Promise<Response>
}