fluent-ts
fluent-ts
is a utility for creating typings (.d.ts
file) from fluent files .ftl
Usage
npx
npx fluent-ts --outDir ./node_modules/@types/fluent-ts
yarn
yarn create fluent-ts --outDir ./node_modules/@types/fluent-ts
It is also possible to run the command in watch
mode, using the --watch
argument:
npx fluent-ts --outDir . --watch