cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-13569) The LocalFileSystem enum in the typescript file is inverted
Date Fri, 23 Nov 2018 19:14:00 GMT


ASF GitHub Bot commented on CB-13569:

jcesarmobile closed pull request #274: CB-13569: fix inverted LocalFileSystem enum

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 9353cfef..469d8621 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -373,6 +373,6 @@ interface Cordova {
 declare enum LocalFileSystem {
\ No newline at end of file


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:

> The LocalFileSystem enum in the typescript file is inverted
> -----------------------------------------------------------
>                 Key: CB-13569
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message