@retypes/dayjs
0.0.57 • Public • Published
- 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
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)
Package Sidebar
Install
Weekly Downloads