Skip to content

Commit

Permalink
fix: extends global Zotero (#66)
Browse files Browse the repository at this point in the history
* fix: extends global `Zotero`

* update: docs

---------

Co-authored-by: windingwind <[email protected]>
  • Loading branch information
volatile-static and windingwind authored Oct 5, 2024
1 parent aedf4e7 commit 81902f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/zotero-plugin-toolkit.progresswindowhelper.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ ProgressWindow helper.
**Signature:**

```typescript
export declare class ProgressWindowHelper extends Zotero.ProgressWindow
export declare class ProgressWindowHelper extends ProgressWindowHelper_base
```
**Extends:** Zotero.ProgressWindow
**Extends:** ProgressWindowHelper\_base
## Example 1
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/progressWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { BasicTool } from "../basic.js";
* }, 3000);
* ```
*/
export class ProgressWindowHelper extends Zotero.ProgressWindow {
export class ProgressWindowHelper extends BasicTool.getZotero().ProgressWindow {
private lines: Zotero.ItemProgress[];
private closeTime: number | undefined;
private originalShow: typeof Zotero.ProgressWindow.prototype.show;
Expand Down

0 comments on commit 81902f4

Please sign in to comment.