Skip to content

Commit a42ebbf

Browse files
RenderIndex.Node accepts an optional type (#1360)
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 2ee8148 commit a42ebbf

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)