Giter VIP home page Giter VIP logo

Comments (9)

metal3d avatar metal3d commented on June 23, 2024 1

I found a workaround, see leafgarland/typescript-vim#47
The problem was that syntastic didn't checked typscript.json file

EDIT: You only have to set this in vimrc file:

let g:syntastic_typescript_tsc_fname = ''

from tsuquyomi.

delphinus avatar delphinus commented on June 23, 2024

It seems tsuquyomi does not read tsconfig.json. It might be fixed if you place tsconfig.json at upper paths /, /app/, /app/pages/, or /app/pages/page1/.

from tsuquyomi.

mhartington avatar mhartington commented on June 23, 2024

After some more digging, it seems to be due to neomake, not tsuquyomi. Sorry for the noise!

Cheers

from tsuquyomi.

metal3d avatar metal3d commented on June 23, 2024

@mhartington I've got the same problem. I don't use neomake, I'm using "ng" command to generate my angular2 project and I've got the same warning.

Any idea ?

My tsconfig is:

{
  "compilerOptions": {
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "mapRoot": "",
    "module": "system",
    "moduleResolution": "node",
    "noEmitOnError": true,
    "noImplicitAny": false,
    "outDir": "../dist/",
    "rootDir": ".",
    "sourceMap": true,
    "sourceRoot": "/",
    "target": "es5"
  }
}

Vim is opened where the tsconfig file resides...

from tsuquyomi.

mhartington avatar mhartington commented on June 23, 2024

Hmm, not seeing this in my test. Are you using syntastic?

from tsuquyomi.

chapati23 avatar chapati23 commented on June 23, 2024

this workaround does not work for me (using neovim 0.1.4)

no matter where i put my tsconfig.json — tsuquyomi does not seem to pick it up :(

from tsuquyomi.

chapati23 avatar chapati23 commented on June 23, 2024

@mhartington: could you elaborate on your digging? just wanna make sure i don't have the same problem

from tsuquyomi.

vyorkin avatar vyorkin commented on June 23, 2024

@chapati23 Have you figured it out? @metal3d I have the same problem, setting let g:syntastic_typescript_tsc_fname = '' doesn't help

from tsuquyomi.

chapati23 avatar chapati23 commented on June 23, 2024

@vyorkin working for me now. unfortunately i couldn't tell you what change helped at the end because i just reinstalled and refactored my whole neovim installation :-/

from tsuquyomi.

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.