We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7003a commit d5af4d0Copy full SHA for d5af4d0
README.md
@@ -117,7 +117,7 @@ const output = await replicate.run(model, { input });
117
This library exports TypeScript definitions. You can import them like this:
118
119
```ts
120
-import Replicate, { Prediction } from 'replicate';
+import Replicate, { type Prediction } from 'replicate';
121
```
122
123
Here's an example that uses the `Prediction` type with a custom `onProgress` callback:
0 commit comments