From 8c2a54eb9fb0cc7998daff20d469fafee0e6e635 Mon Sep 17 00:00:00 2001 From: Corbin Crutchley Date: Thu, 14 May 2026 00:49:06 -0400 Subject: [PATCH] chore: fix tsconfig for samples --- sample/index.ts | 2 ++ sample/tsconfig.json | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 sample/index.ts diff --git a/sample/index.ts b/sample/index.ts new file mode 100644 index 0000000..f6069b9 --- /dev/null +++ b/sample/index.ts @@ -0,0 +1,2 @@ +// Load-bearing `.ts` file to ensure that tsconfig.json doesn't throw an error about no input files. +export {} \ No newline at end of file diff --git a/sample/tsconfig.json b/sample/tsconfig.json index 3f0dbcf..f47289f 100644 --- a/sample/tsconfig.json +++ b/sample/tsconfig.json @@ -1,12 +1,12 @@ { "compilerOptions": { - "target": "ES2020", - "module": "ESNext", - "moduleResolution": "bundler", + "target": "esnext", + "module": "nodenext", + "moduleResolution": "nodenext", "strict": true, "plugins": [ { "name": "tempblot-typescript-plugin" } ] }, - "include": ["*.blot"] + "include": ["*.blot", "*.ts"] } -- 2.51.2