mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 13:37:35 +00:00
Technically lastError is not present if there is no error ( 'lastError' in chrome.runtime === false ). TypeScript currently cannot express this. Since chrome.runtime is declared as namespace and not as interface, it is not possible to use optional variable, hence undefined type. See documentation: https://developer.chrome.com/extensions/runtime#property-lastError |
||
|---|---|---|
| .. | ||
| test | ||
| chrome-app.d.ts | ||
| chrome-cast.d.ts | ||
| index.d.ts | ||
| tsconfig.json | ||