Skip to content

Commit 1053ed0

Browse files
committed
Fix schema compiler format and typecheck
1 parent f0aeff2 commit 1053ed0

2 files changed

Lines changed: 8488 additions & 32692 deletions

File tree

  • packages

packages/core/sdk/src/vendor/json-schema-to-typescript/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ export function generateName(from: string, usedNames: Set<string>) {
220220
}
221221

222222
export function isVerbose(): boolean {
223-
return typeof process !== "undefined" && process.env?.VERBOSE != null;
223+
const global = globalThis as { process?: { env?: Record<string, string | undefined> } };
224+
return global.process?.env?.VERBOSE != null;
224225
}
225226

226227
export function error(...messages: any[]): void {

0 commit comments

Comments
 (0)