DefinitelyTyped/chrome
NN 9f063cbc26 chrome.runtime.lastError is allowed to be undefined (#14374)
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
2017-03-10 16:31:40 -08:00
..
test Fixed Type of webNavigation.webnavigationEventFilter 2017-01-31 23:05:21 -08:00
chrome-app.d.ts Update chrome.sockets.udp and chrome.sockets.tcpServer in chrome package (#13289) 2016-12-25 05:05:41 +09:00
chrome-cast.d.ts Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
index.d.ts chrome.runtime.lastError is allowed to be undefined (#14374) 2017-03-10 16:31:40 -08:00
tsconfig.json Use "lib" in tsconfigs instead of "target". (#13968) 2017-01-18 07:51:51 -08:00