ghalestrilo / seg

A live-coding session manager
Apache License 2.0
11 stars 0 forks source link

Implement Type-checking #10

Open ghalestrilo opened 3 years ago

ghalestrilo commented 3 years ago

App crashes frequently during dev-time for js errors. Checking types / core spec-ing could help with that.

https://cljs.github.io/api/cljs.spec.alpha/ https://clojure.org/guides/spec

https://www.youtube.com/watch?v=a0gT0syAXsY

(require [clojure.core.typed :as t])

future: https://github.com/clojure/clojurescript/wiki/Compile-Time-Type-Checking