• Kissaki
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    Seems like TypeScript could be generating JavaScript code that does these type checks on function entry - with a runtime cost of course.

    Is there no such setting, general or conditional toggle on functions or types?