From 440d06246f1780ea8395d61f49b379f04645637a Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Fri, 24 Nov 2023 21:28:47 -0800 Subject: [PATCH] Update configs --- .../src/scrolling-data-grid/scrolling-data-grid.stories.tsx | 2 +- packages/core/test/data-editor-fns.test.ts | 2 +- tsconfig.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/scrolling-data-grid/scrolling-data-grid.stories.tsx b/packages/core/src/scrolling-data-grid/scrolling-data-grid.stories.tsx index d1a789af9..72aa7e19d 100644 --- a/packages/core/src/scrolling-data-grid/scrolling-data-grid.stories.tsx +++ b/packages/core/src/scrolling-data-grid/scrolling-data-grid.stories.tsx @@ -10,7 +10,7 @@ import { type Rectangle, type Item, } from "../data-grid/data-grid-types.js"; -import { getDefaultTheme } from ".."; +import { getDefaultTheme } from "../index.js"; import type { GetCellRendererCallback } from "../data-grid/cells/cell-types.js"; import { CellRenderers } from "../data-grid/cells/index.js"; diff --git a/packages/core/test/data-editor-fns.test.ts b/packages/core/test/data-editor-fns.test.ts index 2d288f370..8f303ca21 100644 --- a/packages/core/test/data-editor-fns.test.ts +++ b/packages/core/test/data-editor-fns.test.ts @@ -1,6 +1,6 @@ /* eslint-disable sonarjs/no-duplicate-string */ import { CompactSelection, type GridSelection } from "../src/index.js"; -import { expandSelection, unquote } from "../src/data-editor/data-editor-fns"; // Adjust the import path to your setup +import { expandSelection, unquote } from "../src/data-editor/data-editor-fns.js"; // Adjust the import path to your setup describe("unquote", () => { it("should correctly unquote single line string without quotes", () => { diff --git a/tsconfig.json b/tsconfig.json index e96eaba79..b5cf4d51c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "esModuleInterop": true, "composite": true, "jsx": "react", - "moduleResolution": "node", // make node-16 + "moduleResolution": "node16", // make node-16 "module": "esnext", "noImplicitAny": true, "noUnusedLocals": true, @@ -12,7 +12,7 @@ "verbatimModuleSyntax": true, "noUnusedParameters": true, "strict": true, - "target": "es6", // es2022 + "target": "es2022", // es2022 "types": ["jest", "node"] } }