docs-util: fix links in references to current page (#10703)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-12-23 16:27:01 +02:00
1 parent c2c24f40f2
commit c804ae575b
389 files changed
+802 -809

No files matched your search

@@ -1,8 +1,4 @@
import {
ExpressionJsVarItem,
ExpressionJsVarLiteral,
ExpressionJsVarObj,
} from "../types/index.js"
import { ExpressionJsVarLiteral, ExpressionJsVarObj } from "../types/index.js"
export function isExpressionJsVarLiteral(
expression: unknown
@@ -23,13 +19,3 @@ export function isExpressionJsVarObj(
!Object.hasOwn(expression, "original")
)
}
export function isExpressionJsVarItem(
expression: unknown
): expression is ExpressionJsVarItem {
return (
typeof expression === "object" &&
expression !== null &&
Object.hasOwn(expression, "original")
)
}