aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-05-03 17:04:47 +0200
committerGitHub <[email protected]>2022-05-03 15:04:47 +0000
commit20fbeaf35d7c82cdf39da93097927d3a3d81c41c (patch)
tree5e659d7415d901838ec8b2339166b481dd393b3f /docs/api
parentcc9aec71eb35e5be4949de9fd6f62f1b8ee48db0 (diff)
downloadfaker-20fbeaf35d7c82cdf39da93097927d3a3d81c41c.tar.xz
faker-20fbeaf35d7c82cdf39da93097927d3a3d81c41c.zip
refactor!: get rid of export = (#849)
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/localization.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/localization.md b/docs/api/localization.md
index 97d5de50..50e09665 100644
--- a/docs/api/localization.md
+++ b/docs/api/localization.md
@@ -89,5 +89,5 @@ In a production environment, you may only want to include the locale data for a
```js
// loads only de locale
-const faker = require('@faker-js/faker/locale/de');
+const { faker } = require('@faker-js/faker/locale/de');
```