code: function isObjectTypePropertyAFunction(node, options) {
    return (
      (node.type === "ObjectTypeProperty" ||
        node.type === "ObjectTypeInternalSlot") &&
      node.value.type === "FunctionTypeAnnotation" &&
      !node.static &&
      !isFunctionNotation(node, options)
    );
  }
docs: Hack to differentiate between the following two which have the same ast type T = { method: () => void }; type T = { method(): void };