Comments (6)
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.
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.
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.
I wonder if we should provide some stubs on macOS to at least make code completion work if someone imports JavaScriptEventLoop
module?
from javascriptkit.
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.
No worries; glad itβs fixed now.
from javascriptkit.
Related Issues (20)
- Enchancement: Add a link to the docs HOT 4
- Export function returning a JSValue HOT 2
- Arguments in JSClosure HOT 4
- JSPromise(resolver:) usage HOT 3
- Asynchronous calls in JSClosure HOT 5
- Making JSObject hashable HOT 5
- UserAgent support? HOT 1
- WebSockets implementation HOT 2
- Generate JavaScriptKit `.js` runtime with SwiftPM build tool HOT 6
- `JSNumber` type to support `long long` type in Web API IDL
- PUT request using Fetch HOT 2
- Occasional JSClosure has been already released by Swift side HOT 4
- Compiled module was created by a different version of the compiler; rebuild 'JavaScriptKit' and try again HOT 2
- Cannot perform DataView.prototype.setBigUint64 on a detached ArrayBuffer HOT 2
- JSClosure will be overriden from other closure HOT 1
- Are JSValue bitmasks possible? HOT 2
- `JSClosure.async` doesn't work at all
- Init `JSUInt8ClampedArray` from `[UInt8]` failed
- When targeting macOS, v0.19.0 Requires macOS 14 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascriptkit.