Skip to content

Commit 7a535be

Browse files
committed
💄
1 parent d40066d commit 7a535be

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/vs/editor/contrib/parameterHints/parameterHintsWidget.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,16 +263,16 @@ export class ParameterHintsWidget extends Disposable implements IContentWidget {
263263
}
264264

265265
private hasDocs(signature: modes.SignatureInformation, activeParameter: modes.ParameterInformation | undefined): boolean {
266-
if (activeParameter && typeof (activeParameter.documentation) === 'string' && activeParameter.documentation.length > 0) {
266+
if (activeParameter && typeof activeParameter.documentation === 'string' && activeParameter.documentation.length > 0) {
267267
return true;
268268
}
269-
if (activeParameter && typeof (activeParameter.documentation) === 'object' && activeParameter.documentation.value.length > 0) {
269+
if (activeParameter && typeof activeParameter.documentation === 'object' && activeParameter.documentation.value.length > 0) {
270270
return true;
271271
}
272-
if (typeof (signature.documentation) === 'string' && signature.documentation.length > 0) {
272+
if (typeof signature.documentation === 'string' && signature.documentation.length > 0) {
273273
return true;
274274
}
275-
if (typeof (signature.documentation) === 'object' && signature.documentation.value.length > 0) {
275+
if (typeof signature.documentation === 'object' && signature.documentation.value.length > 0) {
276276
return true;
277277
}
278278
return false;

0 commit comments

Comments
 (0)