diff --git a/src/iqkeyboardmanager.android.ts b/src/iqkeyboardmanager.android.ts
old mode 100644
new mode 100755
index c82491b..c0089de
--- a/src/iqkeyboardmanager.android.ts
+++ b/src/iqkeyboardmanager.android.ts
@@ -1,5 +1,4 @@
-import { ContentView } from "tns-core-modules/ui/content-view";
-import { TextView } from "tns-core-modules/ui/text-view";
+import { ContentView, TextView } from "@nativescript/core";
export class PreviousNextView extends ContentView {
}
diff --git a/src/iqkeyboardmanager.ios.ts b/src/iqkeyboardmanager.ios.ts
old mode 100644
new mode 100755
index 6fdd1d4..f5bb5cb
--- a/src/iqkeyboardmanager.ios.ts
+++ b/src/iqkeyboardmanager.ios.ts
@@ -1,5 +1,4 @@
-import { ContentView } from "tns-core-modules/ui/content-view";
-import { TextView } from "tns-core-modules/ui/text-view";
+import { ContentView, TextView } from "@nativescript/core";
export class PreviousNextView extends ContentView {
createNativeView() {
diff --git a/src/package.json b/src/package.json
old mode 100644
new mode 100755
index 6732bdc..d8064ef
--- a/src/package.json
+++ b/src/package.json
@@ -1,6 +1,6 @@
{
"name": "nativescript-iqkeyboardmanager",
- "version": "1.5.1",
+ "version": "1.5.2",
"description": "NativeScript wrapper of the popular IQKeyboardManager iOS library",
"main": "iqkeyboardmanager",
"typings": "index.d.ts",
@@ -37,6 +37,10 @@
{
"name": "Eddy Verbruggen",
"email": "eddyverbruggen@gmail.com"
+ },
+ {
+ "name": "Grey Patterson",
+ "email": "greypatterson@gmail.com"
}
],
"homepage": "https://github.com/tjvantoll/nativescript-IQKeyboardManager",
@@ -44,10 +48,9 @@
"url": "https://github.com/tjvantoll/nativescript-IQKeyboardManager/issues"
},
"devDependencies": {
- "nativescript-dev-typescript": "~0.10.0",
- "tns-core-modules": "~6.2.0",
- "tns-platform-declarations": "~6.2.0",
- "typescript": "3.4.5",
+ "@nativescript/core": "~7.0.0",
+ "@nativescript/types": "~7.0.0",
+ "typescript": "~3.9.0",
"tslint": "^5.0.0"
}
}
diff --git a/src/references.d.ts b/src/references.d.ts
old mode 100644
new mode 100755
index 0823961..c9e47d8
--- a/src/references.d.ts
+++ b/src/references.d.ts
@@ -1,2 +1,2 @@
-///
+///
///
diff --git a/src/tsconfig.json b/src/tsconfig.json
index 1ba81bc..c6a4739 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,