Skip to content
Prev Previous commit
Next Next commit
Update index.d.ts
  • Loading branch information
sindresorhus authored Jun 15, 2019
commit 2d1b009487c2d6391076af50c5db0d8d63de2fa9
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ declare const globby: {

@example
```
import {stream} from 'globby';
import globby = require('globby');

(async () => {
for await (const path of stream('*.tmp')) {
for await (const path of globby.stream('*.tmp')) {
console.log(path);
}
})();
Expand Down