Skip to content

Commit

Permalink
hint: add hint for Leo on SectionName typealias
Browse files Browse the repository at this point in the history
  • Loading branch information
devahmedshendy committed Jul 27, 2023
1 parent 0650ae4 commit 6572214
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/ContributeWordPress/Decoding/PostsExportDecoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import SyndiKit
import FoundationNetworking
#endif


// @Leo, I just used this instead, it makes the dictionary more clear
// do you have any idea where to put this?
public typealias SectionName = String
/// A dictionary of WordPress posts keyed by section name.
public typealias SectionPostDictionary = [SectionName: [WordPressPost]]

/// A protocol for decoding WordPress posts from exports.
public protocol PostsExportDecoder {
Expand Down

0 comments on commit 6572214

Please sign in to comment.