We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Implement a BridgeJS feature in JavaScriptKit that allows importing TypeScript enum definitions into Swift.
Enable TypeScript enums such as:
export enum FeatureFlag { foo = "foo", bar = "bar", }
to be imported seamlessly into Swift as:
enum FeatureFlag: String { case foo = "foo" case bar = "bar" }
Implement a BridgeJS feature in JavaScriptKit that allows importing TypeScript enum definitions into Swift.
Desired behavior:
Enable TypeScript enums such as:
to be imported seamlessly into Swift as:
Notes