Skip to content

Commit

Permalink
Merge pull request #176 from sliit-foss/fix/default-export-require-docs
Browse files Browse the repository at this point in the history
Fix:  Docs for default export require statements updated
  • Loading branch information
Akalanka47000 authored Apr 14, 2024
2 parents 222c131 + 61566aa commit 79d2024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/http-logger/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ yarn add @sliit-foss/http-logger

```js
# using require
const httpLogger = require("@sliit-foss/http-logger");
const httpLogger = require("@sliit-foss/http-logger").default;

# using import
import httpLogger from "@sliit-foss/http-logger";
Expand Down
2 changes: 1 addition & 1 deletion packages/service-connector/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ yarn add @sliit-foss/service-connector

```js
# using require
const serviceConnector = require("@sliit-foss/service-connector");
const serviceConnector = require("@sliit-foss/service-connector").default;

# using import
import serviceConnector from "@sliit-foss/service-connector";
Expand Down

0 comments on commit 79d2024

Please sign in to comment.