fix(util): scope installation build constants
This commit is contained in:
parent
674ed2a8df
commit
6795fa609e
1 changed files with 2 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue