Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions Plugins/BridgeJS/Sources/BridgeJSCore/ExportSwift.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1674,29 +1674,6 @@ struct ProtocolCodegen {
}
}

extension BridgeType {
init?(swiftType: String) {
switch swiftType {
case "Int":
self = .int
case "Float":
self = .float
case "Double":
self = .double
case "String":
self = .string
case "Bool":
self = .bool
case "Void":
self = .void
case "JSObject":
self = .jsObject(nil)
default:
return nil
}
}
}

extension WasmCoreType {
var swiftType: String {
switch self {
Expand Down
Loading