@manahippo/move-to-ts
Advanced tools
Comparing version 0.3.11 to 0.3.12
{ | ||
"name": "@manahippo/move-to-ts", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -16,3 +16,3 @@ import { HexString } from "aptos"; | ||
export function isAtomicTypeTag(val: any): val is AtomicTypeTag { | ||
return (typeof val === 'string' && val in AtomicTypeTag); | ||
return (typeof val === 'string' && Object.values(AtomicTypeTag).includes(val as AtomicTypeTag)); | ||
} | ||
@@ -19,0 +19,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
545211