Skip to content

Commit

Permalink
lintエラー修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ikasoba committed Jun 15, 2024
1 parent 1da3013 commit bd997cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export const language = P.createLanguage({
const emoji = RegExp(twemojiRegex.source);
return P.regexp(emoji).map(content => {
// 異体字セレクタ(U+FE0F)の場合は文字として返す
return content == "\uFE0F" ? M.TEXT(content) : M.UNI_EMOJI(content);
return content === '\uFE0F' ? M.TEXT(content) : M.UNI_EMOJI(content);
});
},

Expand Down

0 comments on commit bd997cc

Please sign in to comment.