changes the base instance for ERR_UNKNOWN_FILE_EXTENSION
from Error to TypeError as a more accurate representation of the error and adds a unit test for unsupported extension in esm resolution.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines