Skip to content

Commit d5af4d0

Browse files
zekeerbridge
authored andcommitted
Update README.md
Co-authored-by: F <[email protected]>
1 parent 3c7003a commit d5af4d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const output = await replicate.run(model, { input });
117117
This library exports TypeScript definitions. You can import them like this:
118118

119119
```ts
120-
import Replicate, { Prediction } from 'replicate';
120+
import Replicate, { type Prediction } from 'replicate';
121121
```
122122

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

0 commit comments

Comments
 (0)