cloudflare / voprf-ts

A TypeScript library for Oblivious Pseudorandom Functions
BSD 3-Clause "New" or "Revised" License
28 stars 12 forks source link

Fixing import type declarations. #55

Closed armfazh closed 4 months ago

armfazh commented 4 months ago

Fixing import type declarations. As of v5.0, Typescript with verbatimModuleSyntax flag enabled produces different code for singleton type imports.

image

Also added a linter option that enforces this subtlety.