MOBILE-2163 core: Update app-scripts and fix tslint errors
parent
d241e1d253
commit
2c519288ce
File diff suppressed because it is too large
Load Diff
|
@ -82,7 +82,7 @@
|
|||
"zone.js": "0.8.18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ionic/app-scripts": "^3.1.8",
|
||||
"@ionic/app-scripts": "3.1.9",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-clip-empty-files": "^0.1.2",
|
||||
"gulp-rename": "^1.2.2",
|
||||
|
|
|
@ -60,7 +60,7 @@ export class CoreCourseDownloadModuleMainFileDirective implements OnInit {
|
|||
|
||||
if (this.module) {
|
||||
// We already have the module.
|
||||
promise = Promise.resolve(module);
|
||||
promise = Promise.resolve(this.module);
|
||||
} else {
|
||||
// Try to get the module from cache.
|
||||
this.moduleId = typeof this.moduleId == 'string' ? parseInt(this.moduleId, 10) : this.moduleId;
|
||||
|
|
|
@ -125,7 +125,7 @@ export class FileTransferObjectMock extends FileTransferObject {
|
|||
};
|
||||
|
||||
xhr.onerror = (err): void => {
|
||||
reject(new FileTransferError(-1, source, target, xhr.status, xhr.statusText));
|
||||
reject(new FileTransferErrorMock(-1, source, target, xhr.status, xhr.statusText, null));
|
||||
};
|
||||
|
||||
xhr.onload = (): void => {
|
||||
|
@ -306,7 +306,7 @@ export class FileTransferObjectMock extends FileTransferObject {
|
|||
this.reject = reject;
|
||||
|
||||
xhr.onerror = (): void => {
|
||||
reject(new FileTransferError(-1, fileUrl, url, xhr.status, xhr.statusText));
|
||||
reject(new FileTransferErrorMock(-1, fileUrl, url, xhr.status, xhr.statusText, null));
|
||||
};
|
||||
|
||||
xhr.onload = (): void => {
|
||||
|
|
Loading…
Reference in New Issue