is-reference
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "is-reference", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Determine whether an AST node is a reference", | ||
@@ -18,3 +18,3 @@ "type": "module", | ||
"test": "uvu", | ||
"prepublishOnly": "npm test && tsc" | ||
"prepublishOnly": "npm test && dts-buddy" | ||
}, | ||
@@ -44,2 +44,3 @@ "repository": { | ||
"acorn-static-class-features": "^1.0.0", | ||
"dts-buddy": "^0.2.4", | ||
"estree-walker": "^3.0.0", | ||
@@ -46,0 +47,0 @@ "typescript": "^4.1.5", |
@@ -1,19 +0,11 @@ | ||
/** @typedef { import('estree').Node} Node */ | ||
/** @typedef {Node | { | ||
* type: 'PropertyDefinition'; | ||
* computed: boolean; | ||
* value: Node | ||
* }} NodeWithPropertyDefinition */ | ||
/** | ||
* | ||
* @param {NodeWithPropertyDefinition} node | ||
* @param {NodeWithPropertyDefinition} parent | ||
* @returns {boolean} | ||
*/ | ||
export default function is_reference(node: NodeWithPropertyDefinition, parent: NodeWithPropertyDefinition): boolean; | ||
export type Node = import('estree').Node; | ||
export type NodeWithPropertyDefinition = Node | { | ||
type: 'PropertyDefinition'; | ||
computed: boolean; | ||
value: Node; | ||
}; | ||
declare module 'is-reference' { | ||
export default function is_reference(node: NodeWithPropertyDefinition, parent: NodeWithPropertyDefinition): boolean; | ||
export type Node = import('estree').Node; | ||
export type NodeWithPropertyDefinition = Node | { | ||
type: 'PropertyDefinition'; | ||
computed: boolean; | ||
value: Node; | ||
}; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
4264
7
49