I decided to put all “typedefs” in external module and to “import" it in the main module. But when I try to compile it it fails with an error:
module ‘external-types.yang’ not found
In which directory should I put it? Can I configure the location of this file? I would like them to be located in the same directory.