Giter VIP home page Giter VIP logo

Comments (6)

filip-sakel avatar filip-sakel commented on July 30, 2024 1

Finding a solution would be greatly appreciated. I edit my code on Xcode so I find it really hard to have to comment out the dependency to get actual diagnostics and then uncomment to run with carton.

from javascriptkit.

kateinoigakukun avatar kateinoigakukun commented on July 30, 2024 1

I couldn't figure out a feasible solution to improve development experience with Xcode, so adding availability guards is reasonable to me now. Sorry for taking a long time.

from javascriptkit.

kateinoigakukun avatar kateinoigakukun commented on July 30, 2024

First of all, this package won't support macOS, and I don't think this error could happen in application development targeting wasm.

from javascriptkit.

MaxDesiatov avatar MaxDesiatov commented on July 30, 2024

I wonder if we should provide some stubs on macOS to at least make code completion work if someone imports JavaScriptEventLoop module?

from javascriptkit.

Jomy10 avatar Jomy10 commented on July 30, 2024

Maybe we could add .platforms(.macos(.v10_15)) to the Package.swift or we could add @available(macOS 10.15, *) to the classes in JavaScriptEventLoop. I have done this for my local copy, because the documentation would not build otherwise.

I can work on this if we decide on which of the approaches to go for?

Edit: I see a pull request has already been opened

from javascriptkit.

filip-sakel avatar filip-sakel commented on July 30, 2024

No worries; glad it’s fixed now.

from javascriptkit.

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.