Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
Co-authored-by: F <[email protected]>
  • Loading branch information
zeke and erbridge authored Sep 24, 2024
commit 92c53e1b4bfd47e335343ac173363b32ab8c4529
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const output = await replicate.run(model, { input });
This library exports TypeScript definitions. You can import them like this:

```ts
import Replicate, { Prediction } from 'replicate';
import Replicate, { type Prediction } from 'replicate';
```

Here's an example that uses the `Prediction` type with a custom `onProgress` callback:
Expand Down