UNPKG

zotero-types

Version:

This package contains type definitions for Zotero (https://www.zotero.org/) plugin.

20 lines (16 loc) 614 B
/** * Tweaks to the Gecko types to make them compatible with the current version of Zotero. */ /// <reference path="./gecko/index.d.ts" /> declare namespace ChromeUtils { function _import(aResourceURI: string, targetObj?: any): any; export { _import as import }; } interface nsIXPCComponents_Utils { /** * @deprecated Use `ChromeUtils.import` instead. See also https://searchfox.org/mozilla-esr128/source/docs/code-quality/lint/linters/eslint-plugin-mozilla/rules/use-chromeutils-import.rst * @param aResourceURI * @param targetObj */ import(aResourceURI: string, targetObj?: any): any; }