Element type is being polyfilled on the server now and cannot be used to detect browser environment. PR Close #24188
tsc-wrapped