Coder Social home page Coder Social logo

Comments (8)

DenysVuika avatar DenysVuika commented on September 4, 2024

Normally, you should also have the exclude provided:

"exclude": ["node_modules"],

Have you tried this one?

from alfresco-js-api.

garth avatar garth commented on September 4, 2024

I ommited my inclusion/exclusion rules.

Of course another fix would be to actually address the 900 type errors, most of which are due to not checking for undefined.

Typescript now support ?. which would fix many of the errors.

from alfresco-js-api.

DenysVuika avatar DenysVuika commented on September 4, 2024

Just switch off the strict mode for now. There's another issue open of the strict mode support

from alfresco-js-api.

garth avatar garth commented on September 4, 2024

It looks like it would be possible to fix by outputting the tsc build to a separate folder (or adding a .npmignore rule). I've tested locally by separating the files and that seems to do the trick. Would you accept a PR?

from alfresco-js-api.

DenysVuika avatar DenysVuika commented on September 4, 2024

There was a PR merged yesterday, will that help? #1081

from alfresco-js-api.

garth avatar garth commented on September 4, 2024

The PR description seems to describe the same issue. I'm trying test the PR locally, but one of the project dependences (iltorb) won't build.

from alfresco-js-api.

garth avatar garth commented on September 4, 2024

Ok I have manage to get it working, seems that npm install/build are only compatible with node 12. (Maybe consider volta pin node@12)

I can confirm that #1081 does fix the library in typescript projects.

from alfresco-js-api.

garth avatar garth commented on September 4, 2024

Ok I have manage to get it working, seems that npm install/build are only compatible with node 12. (Maybe consider volta pin node@12)

I can confirm that #1081 does fix the library in typescript projects.

from alfresco-js-api.

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.