0.0.21 • Published 9 months ago
a-edge-extends-types v0.0.21
a edge extends types
you may be looking for @types/chrome
It's more like a Chinese version @types/chrome
just a little bit, only some I used was given
Development reference
language
install
npm install --save a-edge-extends-types@latest && npx immm
use
must create chrome.d.ts
file, file context:
import { Chrome } from 'a-edge-extends-types';
declare global {
interface Window {
chrome: Chrome;
}
const chrome: Chrome;
}
The package automatically rewrites the file when it is installed or updated, if it doesn't you can use npx immm
create this file,and include in tsconfig.json
illustrate
Only a very small part of the list is given at the moment, as shown below:
action
(none)contextMenus
devtools
(all)i18n
(all)tts
(all)runtime
onload
sendMessage
onMessage
addListener
storage
(all)tabs
(all)
If you have any questions, you can directly submit feedback
0.0.20
9 months ago
0.0.21
9 months ago
0.0.13
9 months ago
0.0.14
9 months ago
0.0.15
9 months ago
0.0.16
9 months ago
0.0.17
9 months ago
0.0.18
9 months ago
0.0.19
9 months ago
0.0.12
10 months ago
0.0.11
10 months ago
0.0.10
10 months ago
0.0.9
10 months ago
0.0.8
10 months ago
0.0.7
10 months ago
0.0.6
10 months ago
0.0.5
10 months ago
0.0.4
10 months ago
0.0.3
10 months ago
0.0.2
10 months ago
0.0.1
10 months ago
0.0.0
10 months ago