diff --git a/@vates/decorate-with/README.md b/@vates/decorate-with/README.md index 9b1a072cb..861bfd3c5 100644 --- a/@vates/decorate-with/README.md +++ b/@vates/decorate-with/README.md @@ -16,7 +16,9 @@ Installation of the [npm package](https://npmjs.org/package/@vates/decorate-with ## Usage -For instance, allows using Lodash's functions as decorators: +### `decorateWith(fn, ...args)` + +Creates a new ([legacy](https://babeljs.io/docs/en/babel-plugin-syntax-decorators#legacy)) method decorator from a function decorator, for instance, allows using Lodash's functions as decorators: ```js import { decorateWith } from '@vates/decorate-with' diff --git a/@vates/decorate-with/USAGE.md b/@vates/decorate-with/USAGE.md index a9bf97c14..e304e636f 100644 --- a/@vates/decorate-with/USAGE.md +++ b/@vates/decorate-with/USAGE.md @@ -1,4 +1,6 @@ -For instance, allows using Lodash's functions as decorators: +### `decorateWith(fn, ...args)` + +Creates a new ([legacy](https://babeljs.io/docs/en/babel-plugin-syntax-decorators#legacy)) method decorator from a function decorator, for instance, allows using Lodash's functions as decorators: ```js import { decorateWith } from '@vates/decorate-with'