Skip to content

Commit 3a936df

Browse files
committed
add eq helper
1 parent 31aa1d7 commit 3a936df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ export function formatVariable(v: VariableDeclaration): string {
1919
return [v.typeName?.typeDescriptions.typeString!].concat(v.name || []).join(' ');
2020
}
2121

22+
export const eq = (a: unknown, b: unknown) => a === b;

0 commit comments

Comments
 (0)