diff --git a/@planetarium/account-aws-kms/src/crypto/node.ts b/@planetarium/account-aws-kms/src/crypto/node.ts index 3d7872b9676..9f20c1431bd 100644 --- a/@planetarium/account-aws-kms/src/crypto/node.ts +++ b/@planetarium/account-aws-kms/src/crypto/node.ts @@ -1,6 +1,6 @@ -// @ts-ignore import * as nc from "node:crypto"; export const crypto = nc && typeof nc === "object" && "webcrypto" in nc - ? (nc.webcrypto as any) + ? // rome-ignore lint/suspicious/noExplicitAny: false + (nc.webcrypto as any) : undefined; diff --git a/@planetarium/account-aws-kms/tsconfig.json b/@planetarium/account-aws-kms/tsconfig.json index 2696af1fdfd..9a6067b4d10 100644 --- a/@planetarium/account-aws-kms/tsconfig.json +++ b/@planetarium/account-aws-kms/tsconfig.json @@ -1,6 +1,7 @@ { "include": ["./src", "*.d.ts", "*.ts"], "compilerOptions": { + "rootDir": "./src", "outDir": "dist", "target": "ES2022", "strict": true, diff --git a/@planetarium/tx/tsconfig.json b/@planetarium/tx/tsconfig.json index da28f1f6ab4..2cf61ae670b 100644 --- a/@planetarium/tx/tsconfig.json +++ b/@planetarium/tx/tsconfig.json @@ -1,6 +1,5 @@ { "include": ["./src", "*.d.ts", "*.ts"], - "rootDir": "./src", "compilerOptions": { "outDir": "dist", "target": "ES2022",