We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fluent types: https://github.com/dvanoni/notero/blob/main/scripts/generate-fluent-types.ts
preference key types: #54
需要对 zotero-types 做一些修改 (可能):
decalre const Zotero {} -> declare namespace Zotero {},因为 const 不支持继承/扩展
decalre const Zotero {}
declare namespace Zotero {}
Zotero.Prefs.get(key: string | boolean | number) ->
Zotero.Prefs.get(key: string | boolean | number)
type PrefKey = string | boolean | number Zotero.Prefs.get(key: PrefKey)
The text was updated successfully, but these errors were encountered:
dts for fluent message:
Pending, wait for zotero-types add I10n.Localization types.
zotero-types
I10n.Localization
https://github.com/dvanoni/notero/blob/3dc67035f58e4dcaa693875a0f24603d065238fd/types/l10n.d.ts#L54
Sorry, something went wrong.
Just for note:
Prettier not support ignore file by comment, comment only ignore next line:
may need to (one of):
.prettierignore
// prettier
.gitignore
ref: windingwind/zotero-plugin-template#236
fix: add prettier-ignore to prefs dts
fe23b03
ref: #62 (comment)
Successfully merging a pull request may close this issue.
fluent types: https://github.com/dvanoni/notero/blob/main/scripts/generate-fluent-types.ts
preference key types: #54
需要对 zotero-types 做一些修改 (可能):
decalre const Zotero {}
->declare namespace Zotero {}
,因为 const 不支持继承/扩展Zotero.Prefs.get(key: string | boolean | number)
->The text was updated successfully, but these errors were encountered: