GoogleChromeLabs/comlink

Find a way to support Deno and TS with the same code base

Open

#553 aperta il 13 lug 2021

Vedi su GitHub
 (2 commenti) (5 reazioni) (0 assegnatari)TypeScript (382 fork)batch import
help wanted

Metriche repository

Star
 (10.359 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Currently, you can use Comlink in Deno through one of the npm CDNs (unpkg, skypack etc). But it’d be nice to be able to import the source from GitHub directly. This currently doesn’t work as TypeScript enforces either no file extensions in imports or .js extension, while Deno requires the actual file path (ending in .ts).

Guida contributor