Giter Site home page Giter Site logo

Comments (7)

asyncLiz avatar asyncLiz commented on July 30, 2024 1

I've got a todo to add that, though I must have missed it in the rush to get everything else. I'll start working on it!

In the meantime, manually setting up polyfills or adding a target to the tsconfig.app.json will bypass the error

from origami.

asyncLiz avatar asyncLiz commented on July 30, 2024 1

This should be fixed in 3.0.2 now

from origami.

dwiyatci avatar dwiyatci commented on July 30, 2024 1

Gave it a spin just now, works like a charm! 🌠

Thank you!

from origami.

asyncLiz avatar asyncLiz commented on July 30, 2024

Probably because your app's tsconfig is missing the target property, which is optional. I'll work on a fix!

from origami.

dwiyatci avatar dwiyatci commented on July 30, 2024

It's actually there under compilerOptions:

{
  "compileOnSave": false,
  "compilerOptions": {
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "module": "esnext",
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es5",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2017",
      "dom"
    ]
  }
}

from origami.

asyncLiz avatar asyncLiz commented on July 30, 2024

What does your angular.json app's tsconfig point to though? The default is a separate tsconfig file that extends the root. We're not following those extend directives yet, so it doesn't see the target.

from origami.

dwiyatci avatar dwiyatci commented on July 30, 2024

Right, my tsconfig.app.json doesn't have target prop.

from origami.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.