vue-tsc

built-in
0.0% Savings
0 Commands
0 Tokens saved
3 Tests

Install

tokf install ab349258227a58d54273a6c49d9f0570d562a3ff85a7a4fdec229de8a090a13a
Safety checks passed

Filter definition

command = ["vue-tsc", "npx vue-tsc"]

match_output = [
  { contains = "Found 0 errors", output = "✓ vue-tsc: no errors" },
]

keep = ["\\(\\d+,\\d+\\): (error|warning)"]

[on_success]
output = "✓ vue-tsc: ok"

[on_failure]
tail = 50

Examples

type errors show file references ~83 tokens → ~76 tokens (8% saved)
Raw output
src/components/PayrollTable.vue(45,7): error TS2322: Type 'string' is not assignable to type 'number'.
src/composables/useEmployee.ts(12,3): error TS2339: Property 'salary' does not exist on type 'Employee'.
src/pages/Dashboard.vue(88,15): warning TS6133: 'tempVar' is declared but its value is never read.

Found 3 errors in 3 files.
Filtered output
src/components/PayrollTable.vue(45,7): error TS2322: Type 'string' is not assignable to type 'number'.
src/composables/useEmployee.ts(12,3): error TS2339: Property 'salary' does not exist on type 'Employee'.
src/pages/Dashboard.vue(88,15): warning TS6133: 'tempVar' is declared but its value is never read.
found 0 errors message shows no errors variant ~6 tokens → ~5 tokens (17% saved)
Raw output
Found 0 errors in 42 files.
Filtered output
✓ vue-tsc: no errors
no errors collapses to single line ~0 tokens → ~3 tokens
Raw output
 
Filtered output
✓ vue-tsc: ok
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters