Visitar URL original
fix type issue · VoiceThread/NativeScript@3b43b10 · GitHub
Skip to content

Commit 3b43b10

Browse files
committed
fix type issue
1 parent cb322ba commit 3b43b10

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "nativescript",
2+
"name": "vt-nativescript",
33
"version": "8.1.5",
44
"license": "MIT",
55
"scripts": {
@@ -11,7 +11,6 @@
1111
"start": "nps",
1212
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
1313
},
14-
"private": true,
1514
"repository": {
1615
"type": "git",
1716
"url": "https://github.com/NativeScript/NativeScript.git"

‎packages/core/file-system/file-system-access.android.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export class FileSystemAccess {
2222
private _pathSeparator = '/';
2323

2424
public getLastModified(path: string): Date {
25-
return new Date(getUtils().getFileLastModified(getApplicationContext(), path));
25+
return new Date((<any>getUtils()).getFileLastModified(getApplicationContext(), path));
2626
}
2727

2828
public getFileSize(path: string): number {
29-
return getUtils().getFileLength(getApplicationContext(), path);
29+
return (<any>getUtils()).getFileLength(getApplicationContext(), path);
3030
}
3131

3232
public getParent(path: string, onError?: (error: any) => any): { path: string; name: string } {

0 commit comments

Comments
 (0)