Skip to content

Commit

Permalink
Merge pull request #537 from TunrayoIlawole/typescript-sdk-code-fix
Browse files Browse the repository at this point in the history
Fix Typescript SDK code snippet
  • Loading branch information
mason-at-pieces authored Aug 10, 2024
2 parents 503a8ef + 49aa2d5 commit b37bdf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/build/reference/typescript/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if (platform === 'linux') {
}

// The `basePath` defaults to http://localhost:1000, however we need to change it to the correct port based on the operating system.
const configuration = Pieces.Configuration({
const configuration = new Pieces.Configuration({
basePath: `http://localhost:${port}`
})
// Create an instance of the WellKnownApi class
Expand Down

1 comment on commit b37bdf8

@vercel
Copy link

@vercel vercel bot commented on b37bdf8 Aug 10, 2024

Choose a reason for hiding this comment

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

Please sign in to comment.