DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.56k stars 33 forks source link

Playground JS failures #1594

Closed edemaine closed 5 days ago

edemaine commented 2 weeks ago

The following input causes an error on the Playground:

import { type foo } from bar

The error "cannot use type in dynamic import" makes sense when compiling in iife mode. But I don't think we want this crash to prevent showing TypeScript transpilation; it should just crash when clicking "Run".