This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git
The following commit(s) were added to refs/heads/master by this push:
new 4642fde CB-13850: Fix spelling in typed-file: property name
filesystem (wrong… (#229)
4642fde is described below
commit 4642fde47ff24f6a2a38ef5f812cca04e1c23a1a
Author: Beutlin <[email protected]>
AuthorDate: Mon Oct 1 22:23:58 2018 +0200
CB-13850: Fix spelling in typed-file: property name filesystem (wrong…
(#229)
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
-
### What does this PR do?
The DefinitelyTyped file has a wrong attribute for an Entry object. It is
"fileSystem" but should be "filesystem". The consequence of this is that the
syntax checker of an IDE might give an false warning.
### What testing has been done on this change?
Looked at file www/Entry.js. Obviously the naming is here "filesystem".
### Checklist
- [ x ] [Reported an
issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
- [ x ] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- Automated tests are not possible, because this bug is related to a
DefinitelyTyped file, which provides only syntax checking for IDEs.
---
types/index.d.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/types/index.d.ts b/types/index.d.ts
index 40f1a82..9353cfe 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -63,7 +63,7 @@ interface Entry {
/** The full absolute path from the root to the entry. */
fullPath: string;
/** The file system on which the entry resides. */
- fileSystem: FileSystem;
+ filesystem: FileSystem;
nativeURL: string;
/**
* Look up metadata about this entry.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]