See https://stackoverflow.com/questions/67702391/typescript-compiler-api-how-to-get-fully-qualified-name-of-type-without-absolut We should also make the path relative to the typesRoots of the compiler.