teleclimber / Dropserver

An application platform for your personal web services. https://dropserver.org
Apache License 2.0
42 stars 1 forks source link

Separate typescript type checking from app init and make optional #99

Open teleclimber opened 1 year ago

teleclimber commented 1 year ago

I have come to realize that deno's TypeScript type checking can't be expected to work without net access. (Although I don't have a good ref to explain why: it's just my experience running deno code.)

Currently type checking is performed on app initialization via a command like deno run --check .... But this should not have net permissions, so a TS error is possible due solely to failing to get access to some needed types file or whatever (or so it seems I can't be 100% sure for now).

In any case type checking always seemed fraught with problems given that TS is evolving and now always 100% back-compatible.

So the plan is: