Giter Club home page Giter Club logo

Comments (4)

jdnichollsc avatar jdnichollsc commented on May 15, 2024

Do you have this configuration? https://github.com/proyecto26/ion-phaser/blob/master/demo-angular/tsconfig.json#L24

from ion-phaser.

tljesse avatar tljesse commented on May 15, 2024

This is my tsconfig.json

{
  "compileOnSave": false,
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "module": "esnext",
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "importHelpers": true,
    "target": "es5",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2018",
      "dom", 
      "scripthost"
    ],
    "paths": {
      "@app/*": [
        "src/app/*"
      ],
      "@assets/*": [
        "src/assets/*"
      ],
      "@env/*": [
        "src/environments/*"
      ]
    }
  },
  "files": ["src/phaser.d.ts"],
  "angularCompilerOptions": {
    "fullTemplateTypeCheck": true,
    "strictInjectionParameters": true
  }
}

We have the phaser.d.ts file in the src folder. Before we had been using phaser on it's own without ion-phaser and had some issues getting it running and ended up having to remove phaser.d.ts from the phaser folder in node_modules. I'm trying to convert everything over now so the project also won't run if I leave phaser.d.ts in node_modules since I haven't converted everything.

This probably sounds like a weird configuration, maybe I need to get rid of the old phaser games as I rebuild and put that back into node_modules? But shouldn't adding that to files from any destination still work?

from ion-phaser.

jdnichollsc avatar jdnichollsc commented on May 15, 2024

@tljesse can you attach a repo to be able to reproduce this issue?

from ion-phaser.

jdnichollsc avatar jdnichollsc commented on May 15, 2024

Please let me know if the issue persist with the last version, thanks!

from ion-phaser.

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.