Skip to content

Commit 15f61f6

Browse files
committed
fix module imports
1 parent d5314a5 commit 15f61f6

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

‎index.d.ts‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
importaxiosfrom'axios'
2-
importcreateHmacfrom'create-hmac'
3-
importOAuthfrom'oauth-1.0a'
4-
importUrlfrom'url-parse'
1+
import*asOAuthfrom'oauth-1.0a'
52

6-
exporttypeWooCommerceRestApiVersion=
3+
exportdeclaretypeWooCommerceRestApiVersion=
74
|'wc/v3'
85
|'wc/v2'
96
|'wc/v1'
107
|'wc-api/v3'
118
|'wc-api/v2'
129
|'wc-api/v1'
13-
exporttypeWooCommerceRestApiEncoding='utf-8'|'ascii'
14-
exporttypeWooCommerceRestApiMethod=
10+
exportdeclaretypeWooCommerceRestApiEncoding='utf-8'|'ascii'
11+
exportdeclaretypeWooCommerceRestApiMethod=
1512
|'get'
1613
|'post'
1714
|'put'
@@ -50,7 +47,7 @@ export interface IWooCommerceRestApiQuery{
5047
*
5148
* @param{Object} opt
5249
*/
53-
exportclassWooCommerceRestApi{
50+
exportdefaultclassWooCommerceRestApi{
5451
protectedclassVersion: string
5552
protectedurl: string
5653
protectedconsumerKey: string
@@ -202,5 +199,3 @@ export class OptionsException{
202199
*/
203200
constructor(message: string)
204201
}
205-
206-
exportdefaultWooCommerceRestApi

0 commit comments

Comments
(0)