Skip to content

Commit

Permalink
fix: auto complete ref value with '.value' not working (#2203)
Browse files Browse the repository at this point in the history
fixes #2199
  • Loading branch information
Sight-wcg committed Dec 18, 2022
1 parent e5f7b23 commit 93ce562
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -62,7 +62,7 @@ export async function register(

const result = await client.sendRequest(AutoInsertRequest.type, params);

if (result !== undefined) {
if (result !== undefined && result !== null) {
if (typeof result === 'string') {
return result;
}
Expand Down

0 comments on commit 93ce562

Please sign in to comment.