Skip to content

Commit 063e3ac

Browse files
committed
Use string to marshal in SymbolDisplayPartKind instead of enum
1 parent 966e697 commit 063e3ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/services.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ module ts {
972972

973973
export interface SymbolDisplayPart {
974974
text: string;
975-
kind: SymbolDisplayPartKind;
975+
kind: string;
976976
}
977977

978978
export interface QuickInfo {
@@ -1320,7 +1320,7 @@ module ts {
13201320
function displayPart(text: string, kind: SymbolDisplayPartKind, symbol?: Symbol): SymbolDisplayPart {
13211321
return <SymbolDisplayPart> {
13221322
text: text,
1323-
kind: kind
1323+
kind: SymbolDisplayPartKind[kind]
13241324
};
13251325
}
13261326

0 commit comments

Comments
 (0)