Skip to content

Commit 659fd14

Browse files
committed
change name: Entity.ts => Entity.d.ts
1 parent 36f1092 commit 659fd14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/GenerateInterfaceCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
6464
$parserOutput = $parser->getOutput();
6565
if (empty($parserOutput) === false) {
6666

67-
$targetFile = $dirOutput . '/' . str_replace( '.php','.ts', $file->getFilename());
67+
$targetFile = $dirOutput . '/' . str_replace( '.php','.d.ts', $file->getFilename());
6868
$fs->dumpFile($targetFile, $parserOutput);
6969
$output->writeln('Created interface ' . $targetFile);
7070
$models[] = $parser->getCurrentInterface()->name;

0 commit comments

Comments
 (0)