#!/bin/sh

cd types-jsdom
pkgjs-install-minimal
pkgjs-ln parse5 2>&1 || true
# parse5 >= 8 imports "entities/decode", a subpath declared in the "exports"
# map of entities: this requires a modern module resolution
tsc --noEmit --module esnext --moduleResolution bundler index.d.ts
