[ 
https://issues.apache.org/jira/browse/CB-12941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619220#comment-16619220
 ] 

ASF GitHub Bot commented on CB-12941:
-------------------------------------

timbru31 commented on a change in pull request #267: CB-12941: update typings
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/pull/267#discussion_r218465706
 
 

 ##########
 File path: types/index.d.ts
 ##########
 @@ -1,39 +1,14 @@
-// Type definitions for Apache Cordova InAppBrowser plugin
+// Type definitions for Apache Cordova InAppBrowser plugin 3.0
 // Project: https://github.com/apache/cordova-plugin-inappbrowser
 // Definitions by: Microsoft Open Technologies Inc <http://msopentech.com>
 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-// 
+//
 // Copyright (c) Microsoft Open Technologies Inc
 // Licensed under the MIT license.
+// TypeScript Version: 2.3
+type channel = "loadstart" | "loadstop" | "loaderror" | "exit";
 
 interface Window {
-    /**
-     * Opens a URL in a new InAppBrowser instance, the current browser 
instance, or the system browser.
 
 Review comment:
   Below is a generic open method (`     open(url: string, target?: string, 
options?: string, replace?: boolean): InAppBrowser;
   `) - this is just redundant when you have typings like target could be 
`"_self" | "_blank" | "_system" | string`. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Update typings to latest DefinitelyTyped revision
> -------------------------------------------------
>
>                 Key: CB-12941
>                 URL: https://issues.apache.org/jira/browse/CB-12941
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-inappbrowser
>            Reporter: Tim Brust
>            Priority: Major
>              Labels: inappbrowser, plugins, typescript, typings
>
> Update the typings in the cordova-plugin-inappbrowser to match the current 
> revision published via DefinitelyTyped.
> This fixes e.g. this issue: https://stackoverflow.com/q/42095516/1902598
> DefinitelyTyped PR: 
> https://github.com/DefinitelyTyped/DefinitelyTyped/pull/17192



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to