Git Product home page Git Product logo

Comments (4)

aslamj avatar aslamj commented on May 26, 2024 14

Please do 'yarn add -D @types/node' or 'npm i --save-dev @types/node' to overcome this issue. But I wish the contributors can fix this in the repo.

from typescript-starter.

capaj avatar capaj commented on May 26, 2024 3

I would love this fixed too. Really bad when these are not added automatically.

from typescript-starter.

nd-rw avatar nd-rw commented on May 26, 2024

couldn't one of us raise a PR that adds the dependency?

from typescript-starter.

BoKKeR avatar BoKKeR commented on May 26, 2024

node_modules/@types/node/ts4.8/test.d.ts:880:22 - error TS1005: ',' expected.

880             : unknown[],
                         ~

node_modules/@types/node/ts4.8/test.d.ts:881:5 - error TS1109: Expression expected.

881     > {
        ~

node_modules/@types/node/ts4.8/test.d.ts:885:24 - error TS1005: ',' expected.

885         arguments: Args;
                           ~

node_modules/@types/node/ts4.8/test.d.ts:889:35 - error TS1005: ',' expected.

889         error: unknown | undefined;
                                      ~

node_modules/@types/node/ts4.8/test.d.ts:895:39 - error TS1005: ',' expected.

895         result: ReturnType | undefined;
                                          ~

node_modules/@types/node/ts4.8/test.d.ts:899:21 - error TS1005: ',' expected.

899         stack: Error;
                        ~

node_modules/@types/node/ts4.8/test.d.ts:904:19 - error TS1005: ',' expected.

904         target: F extends abstract new(...args: any) => any ? F : undefined;
                      ~~~~~~~

node_modules/@types/node/ts4.8/test.d.ts:904:27 - error TS1005: ':' expected.

904         target: F extends abstract new(...args: any) => any ? F : undefined;
                              ~~~~~~~~

node_modules/@types/node/ts4.8/test.d.ts:904:36 - error TS1005: ',' expected.

904         target: F extends abstract new(...args: any) => any ? F : undefined;
                                       ~~~

node_modules/@types/node/ts4.8/test.d.ts:904:54 - error TS1005: '{' expected.

904         target: F extends abstract new(...args: any) => any ? F : undefined;
                                                         ~~

node_modules/@types/node/ts4.8/test.d.ts:904:63 - error TS1005: ',' expected.

904         target: F extends abstract new(...args: any) => any ? F : undefined;
                                                                  ~

node_modules/@types/node/ts4.8/test.d.ts:904:76 - error TS1005: ',' expected.

904         target: F extends abstract new(...args: any) => any ? F : undefined;
                                                                               ~

node_modules/@types/node/ts4.8/test.d.ts:908:22 - error TS1005: ',' expected.

908         this: unknown;
                         ~

While it removes that error, it introduces a ton more when running watch:build

Fixed by running again npm install typescript --save-dev

from typescript-starter.

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.