0

Given a VitePress project for internal docs for a library based on TypeScript ( I have access to the private library repository and could install it locally )

I want to add some documentation for interfaces and types and based on the VitePress docs my first approach was to display the repository raw file

... docs go here ...

<<< @/https://raw.githubusercontent.com/me/my-lib/main/lib/myFile.ts?token=GHSAT0AA...token...

Unfortunately the file rendering failed

enter image description here

Is it possible to somehow display a .ts file or import a type and display its definition?

baitendbidz
  • 187
  • 3
  • 19

0 Answers0