[V] fileRef
const fileRef: object;Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
fromPackageRoot() | (path) => FileRef | Create a FileRef pointing to a file relative to the package root (the directory containing the library’s package.json). Example docs: fileRef.fromPackageRoot("src/rules/my-rule.md"), |