Giter Club home page Giter Club logo

Comments (3)

MikeKovarik avatar MikeKovarik commented on May 17, 2024

Hello, thanks for checking in.

I briefly looked into it and I don't understand how this can happen. SAB was invented for browsers
years ago andd has been supported by Nodejs as well for some time now. So I am confused why that breaks for you. Could you tell me more about your build process, config, the errors it throws, build targets. Are you perhaps targeting older browsers that don't support SAB?

I'd rather first try to solve the issue differently rather than straight out deleting SAB from supported types because I can see someone messaging me "you said exifr works in workers but typescript says otherwise"

from exifr.

rfreedman avatar rfreedman commented on May 17, 2024

Thanks,

Yes, it turned out that I was targeting an older version of JS - I updated my tsconfig to have "target" set to es2015 and "lib" set to es2018 (which are apparently the new default settings for Angular apps), and it all compiled and ran fine without overriding the declaration file.

Thanks again!

from exifr.

MikeKovarik avatar MikeKovarik commented on May 17, 2024

Awesome. Than I'm closing this as a non-issue.

from exifr.

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.