fix(util): scope installation build constants

This commit is contained in:
Dax Raad
2026-07-21 10:47:51 -04:00
parent 674ed2a8df
commit 6795fa609e
+2 -4
View File
@@ -1,7 +1,5 @@
declare global {
const OPENCODE_VERSION: string
const OPENCODE_CHANNEL: string
}
declare const OPENCODE_VERSION: string
declare const OPENCODE_CHANNEL: string
export const InstallationVersion = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"
export const InstallationChannel = typeof OPENCODE_CHANNEL === "string" ? OPENCODE_CHANNEL : "local"