mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Fix pre-existing lint for cast syntax.
This commit is contained in:
@@ -917,7 +917,7 @@ chrome.app.runtime.onLaunched.addListener(() => {
|
||||
|
||||
// #region chrome.gcm
|
||||
|
||||
const gcmMessage = <chrome.gcm.OutgoingMessage>{};
|
||||
const gcmMessage = {} as chrome.gcm.OutgoingMessage;
|
||||
gcmMessage.data = {
|
||||
/*goog: 'any', should not be allowed, and it is not :) */
|
||||
test: true
|
||||
@@ -1078,8 +1078,7 @@ chrome.networking.config.finishAuthentication(filter.HexSSID || '', 'rejected');
|
||||
// #region chrome.networking.onc
|
||||
|
||||
const TLSFormatExample = {
|
||||
NetworkConfigurations: <chrome.networking.onc.NetworkConfigProperties>
|
||||
{
|
||||
NetworkConfigurations: {
|
||||
GUID: '{00f79111-51e0-e6e0-76b3b55450d80a1b}',
|
||||
Name: 'MyTTLSNetwork',
|
||||
Type: 'WiFi',
|
||||
@@ -1103,7 +1102,7 @@ const TLSFormatExample = {
|
||||
'SSID': 'MyTTLSNetwork',
|
||||
'Security': 'WPA-EAP'
|
||||
}
|
||||
}
|
||||
} as chrome.networking.onc.NetworkConfigProperties
|
||||
}
|
||||
|
||||
chrome.networking.onc.getNetworks({ 'networkType': 'All' }, (networkList) => {
|
||||
|
||||
Reference in New Issue
Block a user