Skip to content

Commit

Permalink
Update README.md using plugin terminology
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart <[email protected]>
  • Loading branch information
perkss authored May 30, 2024
1 parent f1105ad commit 2f04248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ This is how you could run the model in Typescript:

```typescript
async function runPlugin() {
const newModel = await new MyCustomPlugin().configure(params);
const usage = await newModel.calculate([
const newPlugin = await new MyCustomPlugin().configure(params);
const usage = await newPlugin.calculate([
{
timestamp: '2021-01-01T00:00:00Z',
duration: '15s',
Expand Down

0 comments on commit 2f04248

Please sign in to comment.