Skip to content

Commit a3ebb01

Browse files
committed
change types ext
1 parent e5d4d72 commit a3ebb01

File tree

5 files changed

+46
-21
lines changed

5 files changed

+46
-21
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adyen/api-library",
3-
"version": "2.2.1-rc.1",
3+
"version": "2.2.1-rc.2",
44
"description": "The Adyen API Library for NodeJS enables you to work with Adyen APIs.",
55
"main": "dist/lib/src/index.js",
66
"types": "dist/lib/src/index.d.ts",

src/index.d.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/// <reference path="typings/amount.ts" />
2+
/// <reference path="typings/apiError.ts" />
3+
/// <reference path="typings/applicationInfo.ts" />
4+
/// <reference path="typings/binLookup.ts" />
5+
/// <reference path="typings/checkout.ts" />
6+
/// <reference path="typings/checkoutUtility.ts" />
7+
/// <reference path="typings/enums/environment.ts" />
8+
/// <reference path="typings/enums/vatCategory.ts" />
9+
/// <reference path="typings/marketPayAccount.ts" />
10+
/// <reference path="typings/marketPayFund.ts" />
11+
/// <reference path="typings/marketPayHostedOnboardingPage.ts" />
12+
/// <reference path="typings/marketPayNotificationConfiguration.ts" />
13+
/// <reference path="typings/marketPayNotifications.ts" />
14+
/// <reference path="typings/nexo.ts" />
15+
/// <reference path="typings/notification.ts" />
16+
/// <reference path="typings/payments.ts" />
17+
/// <reference path="typings/payouts.ts" />
18+
/// <reference path="typings/recurring.ts" />
19+
/// <reference path="typings/requestOptions.ts" />
20+
/// <reference path="typings/terminal.ts" />

src/index.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,28 @@
1919
* See the LICENSE file for more info.
2020
*/
2121

22+
/* eslint-disable @typescript-eslint/triple-slash-reference */
23+
/// <reference path="typings/amount.ts" />
24+
/// <reference path="typings/apiError.ts" />
25+
/// <reference path="typings/applicationInfo.ts" />
26+
/// <reference path="typings/binLookup.ts" />
27+
/// <reference path="typings/checkout.ts" />
28+
/// <reference path="typings/checkoutUtility.ts" />
29+
/// <reference path="typings/enums/environment.ts" />
30+
/// <reference path="typings/enums/vatCategory.ts" />
31+
/// <reference path="typings/marketPayAccount.ts" />
32+
/// <reference path="typings/marketPayFund.ts" />
33+
/// <reference path="typings/marketPayHostedOnboardingPage.ts" />
34+
/// <reference path="typings/marketPayNotificationConfiguration.ts" />
35+
/// <reference path="typings/marketPayNotifications.ts" />
36+
/// <reference path="typings/nexo.ts" />
37+
/// <reference path="typings/notification.ts" />
38+
/// <reference path="typings/payments.ts" />
39+
/// <reference path="typings/payouts.ts" />
40+
/// <reference path="typings/recurring.ts" />
41+
/// <reference path="typings/requestOptions.ts" />
42+
/// <reference path="typings/terminal.ts" />
43+
2244
export { default as Client } from "./client";
2345
export { default as Config } from "./config";
2446
export * from "./services/";

src/typings/index.d.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"baseUrl": "./src",
34
"outDir": "./dist/lib",
45
"module": "commonjs",
56
"target": "es5",
@@ -19,12 +20,12 @@
1920
"strict": true,
2021
"noUnusedLocals": true,
2122
"suppressImplicitAnyIndexErrors": true,
22-
"typeRoots": ["src/typings/", "node_modules/@types"],
23+
"typeRoots": ["src/typings", "node_modules/@types"],
2324
"types": ["node", "jest"]
2425
},
2526
"include": ["src"],
2627
"exclude": ["node_modules"],
2728
"files": [
28-
"src/typings/index.d.ts"
29+
"src/index.d.ts"
2930
]
3031
}

0 commit comments

Comments
 (0)