We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f1092 commit 659fd14Copy full SHA for 659fd14
Command/GenerateInterfaceCommand.php
@@ -64,7 +64,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
64
$parserOutput = $parser->getOutput();
65
if (empty($parserOutput) === false) {
66
67
- $targetFile = $dirOutput . '/' . str_replace( '.php','.ts', $file->getFilename());
+ $targetFile = $dirOutput . '/' . str_replace( '.php','.d.ts', $file->getFilename());
68
$fs->dumpFile($targetFile, $parserOutput);
69
$output->writeln('Created interface ' . $targetFile);
70
$models[] = $parser->getCurrentInterface()->name;
0 commit comments