Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 60fbabc

Browse files
authored
Merge pull request #65 from dubisdev/fix-extensions
fix types exporting
2 parents fc68fb6 + d457966 commit 60fbabc

File tree

4 files changed

+99
-97
lines changed

4 files changed

+99
-97
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "todoist-rest-client",
3-
"version": "3.0.7",
3+
"version": "3.0.8",
44
"type": "module",
55
"description": "A simple todoist-rest-api client",
66
"author": "dubisdev",
@@ -10,10 +10,10 @@
1010
"rest-client"
1111
],
1212
"main": "dist/index.js",
13+
"types": "dist/index.d.ts",
1314
"files": [
1415
"**/dist/**"
1516
],
16-
"types": "dist/index.d.ts",
1717
"dependencies": {
1818
"axios": "^0.24.0",
1919
"uuid": "^8.3.2"

src/TDSClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
comment,
77
extras,
88
} from "./submodules/index.js";
9-
import { ClientConstructor, TDSClient } from "./definitions/index.js";
9+
import { ClientConstructor, TDSClient } from "./definitions";
1010

1111
const TDSClientConstructor: ClientConstructor = (apiToken): TDSClient => {
1212
if (!apiToken) throw new Error("Missing api token");

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import TDSClient from "./TDSClient.js";
2-
32
export * from "./resources/index.js";
4-
export * as Types from "./definitions/index.js";
3+
54
export default TDSClient;

0 commit comments

Comments
 (0)