1 2 3 4 5 6 7 8
const anyWindow = window as any; export const versionUtil = { writeVersionInfoToWindow: () => { anyWindow.__zeroExInstantGitSha = process.env.GIT_SHA; anyWindow.__zeroExInstantNpmVersion = process.env.NPM_PACKAGE_VERSION; }, };