Skip to content

Commit 241452f

Browse files
[6.3] Update public RenderIndex.node initializer to accept an optional (#1375)
Since RenderIndex.Node’s type property is optional, the public initializer should accept an optional. Co-authored-by: Pat Shaughnessy <pat_shaughnessy@apple.com>
1 parent 0a5f5ea commit 241452f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDocC/Indexing/RenderIndexJSON/RenderIndex.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ extension RenderIndex {
223223
public init(
224224
title: String,
225225
path: String?,
226-
type: String,
226+
type: String?,
227227
children: [Node]?,
228228
isDeprecated: Bool,
229229
isExternal: Bool,

0 commit comments

Comments
 (0)