(tempDir: string, _packageDir: string)
| 564 | |
| 565 | const typeCheckAndReportErrors = (allBlocks: readonly CodeBlock[], tempDir: string) => { |
| 566 | const blockCountMessage = `📝 Found ${allBlocks.length} TypeScript code blocks\n`; |
| 567 | return pipe( |
| 568 | blockCountMessage, |
| 569 | Console.log, |
| 570 | Effect.andThen(Console.log('⚙️ Type checking examples...\n')), |
| 571 | Effect.andThen(createSeparateTempFiles(allBlocks, tempDir)), |
| 572 | Effect.flatMap(runTypeCheckAndParseErrors(tempDir)), |
| 573 | Effect.flatMap(handleValidationErrors(allBlocks)) |
no test coverage detected