Skip to content

Commit c0a26e9

Browse files
committed
fix incorrect fix
1 parent af0189c commit c0a26e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/harness/client.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@ namespace ts.server {
204204
return res;
205205
}
206206

207-
const { name, kind, kindModifiers, sortText } = entry;
208-
return { name, kind, kindModifiers, sortText };
207+
return entry as { name: string, kind: ScriptElementKind, kindModifiers: string, sortText: string }; // TODO: GH#18217
209208
})
210209
};
211210
}

0 commit comments

Comments
 (0)