This message was deleted.
# cloud
s
This message was deleted.
p
hi, what typescript target do you have set? ES2015 as a target should be fine for basically all browser targets
n
I am on ES2018. my tsconfig
Copy code
{
  "compilerOptions": {
    "target": "ES2018",
    "importHelpers": true,
    "allowJs": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noFallthroughCasesInSwitch": true,
    "module": "ESNext",
    "moduleResolution": "Node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "noEmitOnError": false,
    "jsx": "react-jsx",
    "strictNullChecks": false,
    "noImplicitAny": false,
    "noImplicitThis": false,
    "noImplicitReturns": false,
p
that’s odd. as the error message says it seems like your build step (?) is using a different target (or potentially a different tsconfig?).