Skip to content

Commit

Permalink
fix: exports (#1883)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boegie19 authored Oct 17, 2023
1 parent 4ec9032 commit a8acdec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docusaurus/docs/dev-docs/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ module.exports = {
<TabItem value="typescript" label="TypeScript">

```ts
export default {
export {
init(providerOptions) {
// init your provider if necessary

Expand Down Expand Up @@ -323,7 +323,7 @@ module.exports = {
<TabItem value="typescript" label="TypeScript">

```ts
export default {
export {
init: (providerOptions = {}, settings = {}) => {
return {
send: async options => {},
Expand Down Expand Up @@ -437,7 +437,7 @@ module.exports = {
```ts title="./providers/aws-s3/index.ts"
// aws-s3 provider

module.exports = {
export = {
init: (config) => {
const s3 = new AWS.S3(config);

Expand Down

1 comment on commit a8acdec

@vercel
Copy link

@vercel vercel bot commented on a8acdec Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

docs-vercel-v4.strapi.io
documentation-git-main-strapijs.vercel.app
documentation-strapijs.vercel.app

Please sign in to comment.