mirror of https://github.com/sveltejs/svelte
pull/8569/head
parent
fda41da2a4
commit
bcfff0da52
@ -1,6 +1,7 @@
|
||||
import { Node } from 'estree';
|
||||
|
||||
export function is_head(node: Node) {
|
||||
/**
|
||||
* @param {import("estree").Node} node
|
||||
*/
|
||||
export function is_head(node) {
|
||||
return (
|
||||
node &&
|
||||
node.type === 'MemberExpression' &&
|
||||
Loading…
Reference in new issue