Skip to content

Commit

Permalink
Add typealias for compatibility with older APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
taji-taji committed Sep 24, 2022
1 parent 962eacb commit 5274ae3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/DangerSwiftPeriphery/PeripheryScanOptions.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import Foundation

@available(*, deprecated, renamed: "PeripheryScanOptions")
public typealias PeripheryArguments = PeripheryScanOptions

/// periphery scan command options
public enum PeripheryScanOptions {
case config(String)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import Foundation

@available(*, deprecated, renamed: "PeripheryScanOptionsBuilder")
public typealias PeripheryArgumentsBuilder = PeripheryScanOptionsBuilder

@resultBuilder
public struct PeripheryScanOptionsBuilder {
public static func buildBlock(_ components: PeripheryScanOptions...) -> [PeripheryScanOptions] {
Expand Down

0 comments on commit 5274ae3

Please sign in to comment.