Skip to content

Commit 9d086f6

Browse files
authored
Merge pull request #558 from neo4j/enable-isolated-modules
enable isolatedModules in tsconfig
2 parents b2101df + 435e394 commit 9d086f6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Cypher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ export {
151151
radians,
152152
rand,
153153
round,
154-
ROUND_PRECISION_MODE,
155154
sign,
156155
sin,
157156
sqrt,
@@ -168,7 +167,6 @@ export {
168167
duration,
169168
cypherLocalDatetime as localdatetime,
170169
cypherLocalTime as localtime,
171-
TemporalUnit,
172170
cypherTime as time,
173171
} from "./expressions/functions/temporal";
174172

@@ -183,7 +181,9 @@ export type { ProjectionColumn } from "./clauses/sub-clauses/Projection";
183181
export type { SetParam } from "./clauses/sub-clauses/Set";
184182
export type { CompositeClause } from "./clauses/utils/concat";
185183
export type { CypherAggregationFunction as AggregationFunction } from "./expressions/functions/aggregation";
184+
export type { ROUND_PRECISION_MODE } from "./expressions/functions/math";
186185
export type { PredicateFunction } from "./expressions/functions/predicate";
186+
export type { TemporalUnit } from "./expressions/functions/temporal";
187187
export type { HasLabel } from "./expressions/HasLabel";
188188
export type { LabelExpr, LabelOperator } from "./expressions/labels/label-expressions";
189189
export type { PathAssign } from "./pattern/PathAssign";

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"baseUrl": ".",
1212
"outDir": "dist",
1313
"stripInternal": false, // TODO: Change this after validating output .d.ts
14-
"noUncheckedIndexedAccess": true
14+
"noUncheckedIndexedAccess": true,
15+
"isolatedModules": true
1516
},
1617
"include": ["src/**/*", "tests/**/*", "global.d.ts"]
1718
}

0 commit comments

Comments
 (0)