Skip to content

Variable: $dirname

ts
const $dirname: string = "$dirname";

Current source directory name.

Replaced with a compile-time literal by the macros plugin. At runtime it is a stub, since a shared module cannot know the importing file.