docs-util: fix links in references to current page (#10703)
This commit is contained in:
@@ -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")
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user