Skip to content

Commit

Permalink
fix(DtsGenerator): Fixed .d.ts file header generation with latest @ro…
Browse files Browse the repository at this point in the history
…adiz/types package
  • Loading branch information
ambroisemaupate committed Oct 26, 2024
1 parent 0542d24 commit 49aca37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/DtsGenerator/src/Generators/DeclarationGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ private function getHeader(): string
/*
* This is an automated Roadiz interface declaration file.
* RoadizNodesSources, RoadizDocument and other mentioned types are part of
* roadiz/abstract-api-client package which must be installed in your project.
* @roadiz/types package which must be installed in your project.
*
* @see https://github.com/roadiz/abstract-api-client
* @see https://github.com/roadiz/types
*
* Roadiz CMS node-types interfaces
*
* @see https://docs.roadiz.io/en/latest/developer/nodes-system/intro.html#what-is-a-node-type
*/
import { RoadizNodesSources, RoadizDocument } from '@roadiz/abstract-api-client/dist/types/roadiz'
import type { RoadizNodesSources, RoadizDocument } from '@roadiz/types'
EOT;
}
}

0 comments on commit 49aca37

Please sign in to comment.