()
| 317 | // Utilities |
| 318 | |
| 319 | private getLuaDiagnostics(): ts.Diagnostic[] { |
| 320 | const { diagnostics } = this.getLuaResult(); |
| 321 | return diagnostics.filter( |
| 322 | d => (this.semanticCheck || d.source === "typescript-to-lua") && !this.ignoredDiagnostics.includes(d.code) |
| 323 | ); |
| 324 | } |
| 325 | |
| 326 | // Actions |
| 327 |
nothing calls this directly
no test coverage detected