diff --git a/types/chrome-apps/test/index.ts b/types/chrome-apps/test/index.ts index 6dbbabc263..c868772db1 100644 --- a/types/chrome-apps/test/index.ts +++ b/types/chrome-apps/test/index.ts @@ -813,9 +813,9 @@ chrome.enterprise.deviceAttributes.getDeviceAnnotatedLocation((loc) => loc.charA // ENTERPRISE - PLATFORM KEYS -if (chrome.enterprise.platformKeys.getTokens) { - if (chrome.enterprise.platformKeys.importCertificate) { - if (chrome.enterprise.platformKeys.removeCertificate) { +if (chrome.enterprise.platformKeys.getTokens as any) { + if (chrome.enterprise.platformKeys.importCertificate as any) { + if (chrome.enterprise.platformKeys.removeCertificate as any) { console.log('API Present'); } } diff --git a/types/csp-html-webpack-plugin/csp-html-webpack-plugin-tests.ts b/types/csp-html-webpack-plugin/csp-html-webpack-plugin-tests.ts index b58bf2f7ff..2dec8f583c 100755 --- a/types/csp-html-webpack-plugin/csp-html-webpack-plugin-tests.ts +++ b/types/csp-html-webpack-plugin/csp-html-webpack-plugin-tests.ts @@ -40,7 +40,7 @@ const optsWithEnableFunc: CspHtmlWebpackPlugin.AdditionalOptions = { // $ExpectType string htmlPluginData.html; - if (htmlPluginData.plugin.apply) { + if (htmlPluginData.plugin.apply as any) { } return true;