Skip to content

Commit 2fd814d

Browse files
Merge pull request #13 from AppcentMobile/bugfix/minor-fix_on_generic_type
🎷 [BUGFIX] Generic types are updated.
2 parents fc14b9d + f52094d commit 2fd814d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ACMNetworking/Library/Utils/Plist/ACMPlistUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Foundation
1010
public final class ACMPlistUtils {
1111
public static let shared = ACMPlistUtils()
1212

13-
public func config<T: Codable>(type _: T.Type? = ACMPlistModel) -> T? {
13+
public func config<T: Codable>(type _: T.Type? = ACMPlistModel.self) -> T? {
1414
guard let data = getData(), let plist = getList(with: data, type: T.self) else {
1515
throwFatalError(with: ACMPropertyListSerializationError.fileNotParsed)
1616
return nil

0 commit comments

Comments
 (0)