cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13569) The LocalFileSystem enum in the typescript file is inverted
Date Tue, 14 Nov 2017 08:05:00 GMT

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

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

antondb closed pull request #224: CB-13569
URL: https://github.com/apache/cordova-plugin-file/pull/224
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/types/index.d.ts b/types/index.d.ts
index c748e3d..38f8f8d 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -373,6 +373,6 @@ interface Cordova {
 
 
 declare enum LocalFileSystem {
-    PERSISTENT=0,
-    TEMPORARY=1
-}
\ No newline at end of file
+    PERSISTENT=1,
+    TEMPORARY=0
+}


 

----------------------------------------------------------------
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:
users@infra.apache.org


> The LocalFileSystem enum in the typescript file is inverted
> -----------------------------------------------------------
>
>                 Key: CB-13569
>                 URL: https://issues.apache.org/jira/browse/CB-13569
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-file
>         Environment: Problem when using typescript.
>            Reporter: anton deblasio
>            Priority: Trivial
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> When using the typescript type file one of the enums is inverted
>  the LocalFileSystem has two options PERSISTENT and TEMPORARY, these relate to the values
1 and 0 respectively.  However in the typescript file they are set to 0 and 1.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message