From: Justin Wind Date: Tue, 28 Jun 2022 21:48:31 +0000 (-0700) Subject: fix typo X-Git-Tag: v1.1.1~2 X-Git-Url: http://git.squeep.com/?p=squeep-lazy-property;a=commitdiff_plain;h=1882275ce7bc9beae7815c7d18a6c5e515cd0e65 fix typo --- diff --git a/README.md b/README.md index 10f677c..12d6cdd 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,6 @@ Easily defer property initialization until first access. const { lazy } = require('@squeep/lazy-property'); const obj = {}; -lazy(obj, () => doSomethingExpensive()); +lazy(obj, 'prop', () => doSomethingExpensive()); const getItNow = obj.prop; ```