@retypes/dayjs

0.0.57 • Public • Published

dayjs rescript types

how to install

  • step 1: install package yarn add -D @retypes/dayjs
  • step 2: add dependencies in bsconfig.json
{
  "bs-dependencies": ["@retypes/dayjs"]
}
  • step 3: build with deps to build the dependency once npm rescript build -with-deps

usage

let configs = Dayjs.Utils.configTypeBuilder(String("fsfasd"))
let x = Dayjs.dayJs(configs)
let il: Dayjs.T.iLocale = Dayjs.T.iLocale(~name="nithin", ())
let m = x.unsafe_locale(. ~preset="sfs", ~object=il)

Readme

Keywords

Package Sidebar

Install

npm i @retypes/dayjs

Weekly Downloads

0

Version

0.0.57

License

ISC

Unpacked Size

2.88 kB

Total Files

4

Last publish

Collaborators

  • nithin77