@retypes/dayjs

0.0.56 • 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

1

Version

0.0.56

License

ISC

Unpacked Size

5.36 kB

Total Files

4

Last publish

Collaborators

  • nithin77