volatile-static

Results 4 issues of volatile-static

![image](https://github.com/weaigc/bingo/assets/59945270/d4164d2e-9c25-43fa-9b8f-5d58f6d8a368) ![image](https://github.com/weaigc/bingo/assets/59945270/bd9769d1-c119-4511-acd9-9b6c88276181) ![image](https://github.com/weaigc/bingo/assets/59945270/1a0cc24f-14e7-44b4-a3ea-e4369a65586c)

我添加了一个接口[MainWindow](https://github.com/windingwind/zotero-types/compare/v2.1.1...v2.2.0#diff-63239d36539bc2b7e15a8a6466438d1eb4b1be1ba512b54f17ce1cfaae32e0f7R272-R288)用来表示在zotero环境下的主窗口对象,打算依此修改[Zotero.getMainWindow](https://github.com/windingwind/zotero-types/blob/160fe56b5ea3c3ec8df95d2f25766f94f0e73806/types/zotero.d.ts#L92)方法的返回类型。 但现在有两点困惑: 1. 我在新增接口`MainWindow`的实现方式是继承`Window`并手动补充,不知能否从全局继承所有内容? 2. 除了`getMainWindow`之外,还有可以用到`MainWindow`的地方吗?

https://docs.github.com/en/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot