diff --git a/package.json b/package.json
index 65b7dfcfd..772e801f4 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@adyen/api-library",
- "version": "2.2.1-rc.1",
+ "version": "2.2.1-rc.2",
"description": "The Adyen API Library for NodeJS enables you to work with Adyen APIs.",
"main": "dist/lib/src/index.js",
"types": "dist/lib/src/index.d.ts",
diff --git a/src/index.d.ts b/src/index.d.ts
new file mode 100644
index 000000000..6e09d3e1e
--- /dev/null
+++ b/src/index.d.ts
@@ -0,0 +1,20 @@
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
diff --git a/src/index.ts b/src/index.ts
index 07c5db344..fa2cbdccb 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -19,6 +19,28 @@
* See the LICENSE file for more info.
*/
+/* eslint-disable @typescript-eslint/triple-slash-reference */
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+///
+
export { default as Client } from "./client";
export { default as Config } from "./config";
export * from "./services/";
diff --git a/src/typings/index.d.ts b/src/typings/index.d.ts
deleted file mode 100644
index 35e907e9c..000000000
--- a/src/typings/index.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-///
diff --git a/tsconfig.json b/tsconfig.json
index 88d0bb2e7..63732b4fb 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "baseUrl": "./src",
"outDir": "./dist/lib",
"module": "commonjs",
"target": "es5",
@@ -19,12 +20,12 @@
"strict": true,
"noUnusedLocals": true,
"suppressImplicitAnyIndexErrors": true,
- "typeRoots": ["src/typings/", "node_modules/@types"],
+ "typeRoots": ["src/typings", "node_modules/@types"],
"types": ["node", "jest"]
},
"include": ["src"],
"exclude": ["node_modules"],
"files": [
- "src/typings/index.d.ts"
+ "src/index.d.ts"
]
}