diff --git a/package.json b/package.json index 3cf5df8697..44c1e0b57a 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,7 @@ "syncpack": "^11.2.1", "ts-node": "^10.0.0", "typedoc": "0.25.13", - "typescript": "^4.6.3", + "typescript": "^5.6.3", "xvfb-maybe": "^0.2.1", "yaml-hook": "^1.0.0" }, diff --git a/packages/api/core/src/api/make.ts b/packages/api/core/src/api/make.ts index c03b43e5ad..e16c2bab16 100644 --- a/packages/api/core/src/api/make.ts +++ b/packages/api/core/src/api/make.ts @@ -295,6 +295,7 @@ export const listrMake = ( }); } catch (err) { if (err) { + // eslint-disable-next-line @typescript-eslint/no-throw-literal throw err; } else { throw new Error(`An unknown error occurred while making for target: ${uniqMaker.name}`); diff --git a/packages/api/core/src/util/forge-config.ts b/packages/api/core/src/util/forge-config.ts index 39fb672252..2d69952119 100644 --- a/packages/api/core/src/util/forge-config.ts +++ b/packages/api/core/src/util/forge-config.ts @@ -44,7 +44,7 @@ const proxify = (buildIdentifier: string | (() => strin const envValue = process.env[`${envPrefix}_${underscoreCase(name)}`]; if (envValue) return envValue; } - const value = Reflect.get(target, name, receiver); + const value = Reflect.get(target, name, receiver) as BuildIdentifierConfig; if (value && typeof value === 'object' && value.__isMagicBuildIdentifierMap) { const identifier = typeof buildIdentifier === 'function' ? buildIdentifier() : buildIdentifier; diff --git a/yarn.lock b/yarn.lock index 97d2fca195..aa67a8b4c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12600,10 +12600,10 @@ typedoc@0.25.13: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.2.tgz#d1de67b6bef77c41823f822df8f0b3bcff60a5a0" integrity sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw== -typescript@^4.6.3: - version "4.6.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c" - integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw== +typescript@^5.6.3: + version "5.6.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" + integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw== typescript@~4.2.4: version "4.2.4"