Skip to content

Commit a8acdec

Browse files
authored
fix: exports (#1883)
1 parent 4ec9032 commit a8acdec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docusaurus/docs/dev-docs/providers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ module.exports = {
259259
<TabItem value="typescript" label="TypeScript">
260260

261261
```ts
262-
export default {
262+
export {
263263
init(providerOptions) {
264264
// init your provider if necessary
265265

@@ -323,7 +323,7 @@ module.exports = {
323323
<TabItem value="typescript" label="TypeScript">
324324

325325
```ts
326-
export default {
326+
export {
327327
init: (providerOptions = {}, settings = {}) => {
328328
return {
329329
send: async options => {},
@@ -437,7 +437,7 @@ module.exports = {
437437
```ts title="./providers/aws-s3/index.ts"
438438
// aws-s3 provider
439439

440-
module.exports = {
440+
export = {
441441
init: (config) => {
442442
const s3 = new AWS.S3(config);
443443

0 commit comments

Comments
 (0)