Skip to content

Commit 6c8c529

Browse files
committed
enusre that child items is always set
1 parent 3f315c0 commit 6c8c529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/getScriptLexicalStructureWalker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ module TypeScript.Services {
151151
}
152152
}
153153

154-
private getNavigationBarItem(text: string, kind: string, kindModifiers: string, spans: TypeScript.TextSpan[], childItems?: ts.NavigationBarItem[], indent: number = 0): ts.NavigationBarItem {
154+
private getNavigationBarItem(text: string, kind: string, kindModifiers: string, spans: TypeScript.TextSpan[], childItems: ts.NavigationBarItem[]= [], indent: number = 0): ts.NavigationBarItem {
155155
return {
156156
text: text,
157157
kind: kind,

0 commit comments

Comments
 (0)