idb: don't import typeson

This commit is contained in:
Florian Dold 2021-02-24 01:28:45 +01:00
parent 3a336799a0
commit bc7956c2ba
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -14,14 +14,8 @@
permissions and limitations under the License.
*/
// @ts-ignore
import Typeson from "typeson";
// @ts-ignore
import structuredCloningThrowing from "typeson-registry/dist/presets/structured-cloning-throwing";
import { DataCloneError } from "./errors";
const TSON = new Typeson().register(structuredCloningThrowing);
const { toString: toStr } = {};
const hasOwn = {}.hasOwnProperty;
const getProto = Object.getPrototypeOf;