Skip to content

Commit

Permalink
don't use type guards in html/shared/intl/fbt/fbt.js
Browse files Browse the repository at this point in the history
Reviewed By: SamChou19815

Differential Revision: D54287829

fbshipit-source-id: 10eb3157004e449e846fd15802c28e325a4c25db
  • Loading branch information
panagosg7 authored and facebook-github-bot committed Feb 28, 2024
1 parent 2970a2d commit dd54f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/shared/fbt.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ function disableJsonExportMode(): void {
jsonExportMode = false;
}

function isFbtInstance(value: mixed): value is FbtResultBase {
function isFbtInstance(value: mixed): boolean {
return value instanceof FbtResultBase;
}

Expand Down

0 comments on commit dd54f9e

Please sign in to comment.