diff --git a/src/TNSHttpFormData.common.ts b/src/TNSHttpFormData.common.ts index 5c9ec25..4f80fef 100644 --- a/src/TNSHttpFormData.common.ts +++ b/src/TNSHttpFormData.common.ts @@ -1,4 +1,5 @@ -import { Observable } from 'tns-core-modules/data/observable'; + +import { Observable } from '@nativescript/core'; export class Common extends Observable { constructor() { diff --git a/src/package.json b/src/package.json index d4df227..85c818a 100644 --- a/src/package.json +++ b/src/package.json @@ -6,8 +6,8 @@ "typings": "index.d.ts", "nativescript": { "platforms": { - "android": "6.3.0", - "ios": "6.3.0" + "android": "7.0.0", + "ios": "7.0.0" } }, "repository": { @@ -46,9 +46,10 @@ "homepage": "https://github.com/dotnetdreamer/nativescript-http-formdata", "readmeFilename": "README.md", "devDependencies": { - "tns-core-modules": "~6.3.0", - "tns-platform-declarations": "^6.3.2", - "typescript": "~3.5.3", + "@nativescript/core": "~7.0.0", + "@nativescript/types": "~7.0.0", + "@nativescript/webpack": "~3.0.0", + "typescript": "~3.9.0", "prompt": "^1.0.0", "rimraf": "^2.6.3", "tslint": "^5.12.1", diff --git a/src/references.d.ts b/src/references.d.ts index 619fca7..1747fee 100644 --- a/src/references.d.ts +++ b/src/references.d.ts @@ -1,3 +1,2 @@ -/// -/// +/// /// \ No newline at end of file diff --git a/src/tsconfig.json b/src/tsconfig.json index 5e33b3f..a6164d2 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -1,7 +1,8 @@ { "compilerOptions": { - "target": "es5", - "module": "commonjs", + "target": "ES2017", + "module": "esnext", + "moduleResolution": "node", "declaration": true, "removeComments": true, "noLib": false,