Skip to content

Commit

Permalink
chore: update tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed May 18, 2024
1 parent 86cf87c commit a71c437
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"prepare": "pnpm simple-git-hooks",
"build": "pkgroll --minify",
"lint": "lintroll --node --cache .",
"type-check": "tsc --noEmit",
"type-check": "tsc",
"test": "pnpm build && node ./dist/cli.mjs tests/index.ts",
"prepack": "pnpm build && clean-pkg-json",
"docs:dev": "pnpm --filter=docs dev",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/transform/apply-transformers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import remapping, { type SourceMap, SourceMapInput } from '@ampproject/remapping';
import remapping, { type SourceMap, type SourceMapInput } from '@ampproject/remapping';

type MaybePromise<T> = T | Promise<T>;

Expand Down
4 changes: 2 additions & 2 deletions src/utils/transform/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class FileCache<ReturnType> extends Map<string, ReturnType> {
});
}

get(key: string) {
override get(key: string) {
const memoryCacheHit = super.get(key);

if (memoryCacheHit) {
Expand Down Expand Up @@ -85,7 +85,7 @@ class FileCache<ReturnType> extends Map<string, ReturnType> {
return cachedResult;
}

set(key: string, value: ReturnType) {
override set(key: string, value: ReturnType) {
super.set(key, value);

if (value) {
Expand Down
4 changes: 0 additions & 4 deletions tests/tsconfig.json

This file was deleted.

20 changes: 12 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"compilerOptions": {
"target": "esnext",
"module": "Preserve",
"target": "es2022",
"moduleDetection": "force",


"module": "preserve",
"resolveJsonModule": true,
"allowJs": true,
"strict": true,
// "noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noEmit": true,
"esModuleInterop": true,
"isolatedModules": true,
"skipLibCheck": true
},
"include": [
"src"
]
"verbatimModuleSyntax": true,
"skipLibCheck": true,
}
}

0 comments on commit a71c437

Please sign in to comment.