logoalt Hacker News

Gualdrapotoday at 1:03 AM2 repliesview on HN

I wish there was some sort of "use strict-typed" or something that let you use in-browser interpreted typescript


Replies

pianopatricktoday at 1:21 AM

Well, you could use jsDoc to hold your types instead of writing them in typescript. The typescript compiler can still check types in jsDoc comments but you do not need a build step and the javascript you ship to the browser would be the same you write in your editor.

show 3 replies
zamadatixtoday at 1:22 AM

"use stricter";