1 pointby autobe9 hours ago2 comments
  • k-taro564 hours ago
    With current Node.js, you can run TypeScript directly without ttsc.
    • autobe3 hours ago
      But it does not support plugin, and does not type checking either.
      • k-taro563 hours ago
        If you want type checking, there’s tsc.

        Do you ever really want to check types at runtime? If anything, you just want it to somehow work, right? Like Python.

        • autobe3 hours ago
          I'm making `typia`, and it needs the type checking even in the convenient runtime like `ts-node`.
          • k-taro562 hours ago
            Ah so it’s for apps like typia. Congrats on the performance improvements in typia!!
  • esafak8 hours ago
    How does it compare with oxlint?
    • autobe6 hours ago
      `oxlint` is an independent program with typescript compiler, and @ttsc/lint is a plugin belongs to the typescript compiler.

      So when using `oxlint`, you have to run it after TS compilation, but `@ttsc/lint` configured violations are detected when TS compilation.