Coder Social home page Coder Social logo

Comments (11)

kevinmarrec avatar kevinmarrec commented on May 10, 2024 1

@MrJmpl3 will be fixed in 2.6, Nuxt won't override your tsconfig.json anymore.

from typescript.

chanlito avatar chanlito commented on May 10, 2024

Getting same error on 2.5

from typescript.

takenaka avatar takenaka commented on May 10, 2024

Please set tsconfig.json.

{
  "compilerOptions": {
    "target": "esnext",
    "module": "esnext",
    "moduleResolution": "node",
    "lib": [
      "esnext",
      "esnext.asynciterable",
      "dom"
    ],
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "allowJs": true,
    "sourceMap": true,
    "strict": true,
    "noImplicitAny": false,
    "noEmit": true,
    "baseUrl": ".",
    "paths": {
      "~/*": [
        "./*"
      ],
      "@/*": [
        "./*"
      ]
    },
    "types": [
      "@types/node",
      "@nuxt/vue-app"
    ]
  }
}

from typescript.

chanlito avatar chanlito commented on May 10, 2024

Seems fine to me on 2.5.1

from typescript.

kevinmarrec avatar kevinmarrec commented on May 10, 2024

@Alpvax Can you confirm it's not reproducible on 2.5.1 ? Thanks.

from typescript.

Alpvax avatar Alpvax commented on May 10, 2024

Yes, I will do when I get a chance

from typescript.

kevinmarrec avatar kevinmarrec commented on May 10, 2024

@Alpvax great, feel free to close the issue if you're not able to reproduce it :)

from typescript.

israelroldan avatar israelroldan commented on May 10, 2024

Still reproducible in 2.5.1 :(

from typescript.

Alpvax avatar Alpvax commented on May 10, 2024

@israelroldan I cannot reproduce the issue after updating, are you sure your issue is the same?

from typescript.

kevinmarrec avatar kevinmarrec commented on May 10, 2024

I wasn't able to reproduce the issue with 2.5.1 + @chanlito @israelroldan confirmed it's not reproducible, closing the issue then.

@israelroldan Please open a new issue with reproduction if you get another/different issue.

from typescript.

MrJmpl3 avatar MrJmpl3 commented on May 10, 2024

Version: 2.5.1 , Nuxtjs add "strict": true in my custom tsconfig.json in npm run dev

{
  "compilerOptions": {
    "target": "es5",
    "lib": [
      "dom",
      "es2015",
      "es2016",
      "es2017"
    ],
    "module": "es2015",
    "moduleResolution": "node",
    "experimentalDecorators": true,
    "noImplicitAny": false,
    "noImplicitThis": false,
    "noUnusedLocals": true,
    "strictNullChecks": false,
    "removeComments": true,
    "suppressImplicitAnyIndexErrors": true,
    "allowSyntheticDefaultImports": true,
    "baseUrl": ".",
    "allowJs": true,
    "jsx": "preserve",
    "paths": {
      "~/*": [
        "./*"
      ],
      "@/*": [
        "./*"
      ]
    },
    "esModuleInterop": true,
    "sourceMap": true,
    "noEmit": true,
    "types": [
      "@types/node",
      "@nuxt/vue-app"
    ]
  },
  "exclude": [
    "**/*.spec.ts",
    "node_modules"
  ]
}

from typescript.

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.