You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
deprecation_chrome/index.ts
1:1 error 'chrome' is deprecated. Part of the deprecated Chrome Apps platform deprecation/deprecation
whereas the API is not marked as deprecated
/** * Gets all tabs that have the specified properties, or all tabs if no properties are specified. * @since Chrome 16 * @return The `query` method provides its result via callback or returned as a `Promise` (MV3 only). */
Message Part of the deprecated Chrome Apps platform is used a few times in the types, but has nothing to do with chrome.tabs.query.
Usages of the chrome API, defined in this types - https://www.npmjs.com/package/@types/chrome, cause deprecation errors.
E.g. the following code
leads to this error:
deprecation_chrome/index.ts 1:1 error 'chrome' is deprecated. Part of the deprecated Chrome Apps platform deprecation/deprecation
whereas the API is not marked as deprecated
Message
Part of the deprecated Chrome Apps platform
is used a few times in the types, but has nothing to do withchrome.tabs.query
.Reproduction - https://github.com/WiseBird/deprecation_chrome
The text was updated successfully, but these errors were encountered: