Skip to content

Commit

Permalink
fix(typescript): update entry point in tsconfig
Browse files Browse the repository at this point in the history
- Update entry point from tsconfig
  https://stackoverflow.com/a/57730727/4427557
- Update to remove ambiguity using 'type' reserved keyword on named binding import

Fix #2855
  • Loading branch information
netil committed Sep 15, 2022
1 parent a3c1225 commit ab4d98d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ChartInternal/ChartInternal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import text from "./internals/text";
import title from "./internals/title";
import tooltip from "./internals/tooltip";
import transform from "./internals/transform";
import type from "./internals/type";
import typeInternals from "./internals/type";

/**
* Internal chart class.
Expand Down Expand Up @@ -807,5 +807,5 @@ extend(ChartInternal.prototype, [
title,
tooltip,
transform,
type
typeInternals
]);
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
]
},
"include": [
"src/**/*.ts"
"src/**/index*.ts",
],
"exclude": [
"test/**/*.ts"
Expand Down

0 comments on commit ab4d98d

Please sign in to comment.