Apparently this is invalid TypeScript (cannot parse it says): try { const parsedURL = new URL(url) requestPath = parsedURL.pathname } catch (error: unknown) { // NOOP } It's complaining about : unknown bit which one of the newer typescript eslint rules enforces.
Apparently import random if random.randint(0,1) == 2: print(“hello”) Is also unparseable.
Perhaps a more pointed set of questions: what is the error it emits, and have you considered submitting that case as an actual bug?