@yfnote/create-message-formatter
v1.0.7
Published
オブジェクト形式の templates から、下記`generate-types`を用いて型情報を生成する。
Readme
テンプレート文字列を生成するファクトリー関数を持つ
オブジェクト形式の templates から、下記generate-types
を用いて型情報を生成する。
使用例
const formatMessage = createMessageFormatter<MessageFormatType>()
const result = formatMessage(templates.a, "John", "Tokyo")
エラー例
サンプル
memo
build npm run build
npm 公開 npm publish --access=public