diff --git a/projects/common/src/lib/components/resumable-file-upload/resumable-file-upload.service.ts b/projects/common/src/lib/components/resumable-file-upload/resumable-file-upload.service.ts index 1f877f0..f33835c 100644 --- a/projects/common/src/lib/components/resumable-file-upload/resumable-file-upload.service.ts +++ b/projects/common/src/lib/components/resumable-file-upload/resumable-file-upload.service.ts @@ -2,6 +2,7 @@ import { Injectable, ElementRef } from '@angular/core'; import { OAuthService } from 'angular-oauth2-oidc'; import { Subject , of } from 'rxjs'; import { HttpClient, HttpParams } from "@angular/common/http"; +//import * as Resumable from './resumable.js' declare var Resumable; // avoid missing property error on require diff --git a/projects/common/tsconfig.lib.json b/projects/common/tsconfig.lib.json index cfaa8a0..d885d02 100644 --- a/projects/common/tsconfig.lib.json +++ b/projects/common/tsconfig.lib.json @@ -11,7 +11,7 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, - "types": ["node_modules/resumable/resumable.js"], + "types": ["src/lib/components/resumable-file-upload/resumable.js"], "lib": [ "dom", "es2018"