Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/eslint-plugin-react/lib/util/isCreateElement.js

    rd565449 r0c6b92a  
    1111*/
    1212module.exports = function isCreateElement(context, node) {
     13  if (!node.callee) {
     14    return false;
     15  }
     16
    1317  if (
    14     node.callee
    15     && node.callee.type === 'MemberExpression'
     18    node.callee.type === 'MemberExpression'
    1619    && node.callee.property.name === 'createElement'
    1720    && node.callee.object
     
    2225
    2326  if (
    24     node
    25     && node.callee
    26     && node.callee.name === 'createElement'
     27    node.callee.name === 'createElement'
    2728    && isDestructuredFromPragmaImport(context, node, 'createElement')
    2829  ) {
Note: See TracChangeset for help on using the changeset viewer.