From 87d058fd0701e048e1013d9095ab6c7c19b7dd2c Mon Sep 17 00:00:00 2001 From: ysCha Date: Wed, 3 Sep 2025 10:18:13 +0900 Subject: [PATCH] =?UTF-8?q?skeleton.ts=20=EB=9D=BC=EC=9D=B4=EB=B8=8C?= =?UTF-8?q?=EB=9F=AC=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/skeletons/index.ts | 19 +++++++++++-------- tsconfig.json | 4 +--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/lib/skeletons/index.ts b/src/lib/skeletons/index.ts index 8244b4cd..b1f2cdb5 100644 --- a/src/lib/skeletons/index.ts +++ b/src/lib/skeletons/index.ts @@ -1,9 +1,12 @@ -import {GeoJSONMultipolygon, List} from "./Utils"; -import Vector2d from "./Primitives/Vector2d"; -import SkeletonBuilder from "./SkeletonBuilder"; -import { Skeleton } from "./Skeleton"; -import EdgeResult from "./EdgeResult"; -import Edge from "./Circular/Edge"; -import Vertex from "./Circular/Vertex"; +// Types +export type { GeoJSONMultipolygon, List } from "./Utils"; +export type { Skeleton } from "./Skeleton"; + +// Values +export { default as Vector2d } from "./Primitives/Vector2d"; +export { default as SkeletonBuilder } from "./SkeletonBuilder"; +export { default as EdgeResult } from "./EdgeResult"; +export { default as Edge } from "./Circular/Edge"; +export { default as Vertex } from "./Circular/Vertex"; + -export {SkeletonBuilder, List, Vector2d, GeoJSONMultipolygon, Skeleton, EdgeResult, Edge, Vertex}; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index e2d762e2..2a8f023b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,12 +14,10 @@ "incremental": true, "module": "esnext", "esModuleInterop": true, - "allowSyntheticDefaultImports": true, // 추가 - "moduleResolution": "bundler", // 변경: "node" → "bundler" + "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "baseUrl": ".", // 추가 "plugins": [ { "name": "next"