Skip to content

Commit f870498

Browse files
isolatedModules
1 parent 19bd332 commit f870498

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
FlattenedTypePaths,
77
} from "./utils/FlattenedTypePaths";
88

9-
export {
9+
export type {
1010
DotNestedKeys,
1111
ChildItemType,
1212
ChildType,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-nester",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "A TypeScript utility for converting nested JSON objects into TypeScript interfaces, optimized for i18n applications.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
7575

7676
/* Interop Constraints */
77-
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
77+
"isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
7878
// "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
7979
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
8080
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */

0 commit comments

Comments
 (0)