Types: added tsconfig.json and package.json for type descriptions.
diff --git a/ts/package.json b/ts/package.json
new file mode 100644
index 0000000..5bc34d3
--- /dev/null
+++ b/ts/package.json
@@ -0,0 +1,30 @@
+{
+  "name": "njs-types",
+  "version": "0.0.0-dev",
+  "description": "TypeScript definitions for njs scripting language and nginx js modules.",
+  "scripts": {
+    "lint": "tsc"
+  },
+  "files": [
+    "**/*.d.ts"
+  ],
+  "types": "index.d.ts",
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/nginx/njs.git"
+  },
+  "keywords": [
+    "nginx",
+    "njs",
+    "types"
+  ],
+  "author": "NGINX, Inc.",
+  "license": "BSD-2-Clause",
+  "bugs": {
+    "url": "https://github.com/nginx/njs/issues"
+  },
+  "homepage": "https://nginx.org/en/docs/njs/",
+  "devDependencies": {
+    "typescript": "^4.0.3"
+  }
+}
diff --git a/ts/tsconfig.json b/ts/tsconfig.json
new file mode 100644
index 0000000..8cb2218
--- /dev/null
+++ b/ts/tsconfig.json
@@ -0,0 +1,24 @@
+{
+    "compilerOptions": {
+        "target": "es5",
+        "module": "es2015",
+        "lib": [
+            "ES2015",
+            "ES2016.Array.Include",
+            "ES2017.Object",
+            "ES2017.String"
+        ],
+        "noEmit": true,
+        "strict": true,
+        "noImplicitAny": true,
+        "strictNullChecks": true,
+        "strictFunctionTypes": true,
+        "strictBindCallApply": true,
+        "strictPropertyInitialization": true,
+        "noImplicitThis": true,
+        "alwaysStrict": true,
+
+        "moduleResolution": "node",
+        "forceConsistentCasingInFileNames": true
+    }
+}