@manahippo/move-to-ts
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "@manahippo/move-to-ts", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -156,5 +156,5 @@ import { | ||
} | ||
if (typeof data !== "string") { | ||
if (typeof data !== "number") { | ||
throw new Error( | ||
`U16Parser expects string type as data but received: ${typeof data}` | ||
`U16Parser expects number type as data but received: ${typeof data}` | ||
); | ||
@@ -175,5 +175,5 @@ } | ||
} | ||
if (typeof data !== "string") { | ||
if (typeof data !== "number") { | ||
throw new Error( | ||
`U32Parser expects string type as data but received: ${typeof data}` | ||
`U32Parser expects number type as data but received: ${typeof data}` | ||
); | ||
@@ -180,0 +180,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet