tomtom9
V2EX  ›  问与答

问下大家,在 function 里定义的 type 和在 function 外定义有区别嘛? Typescript

  •  
  •   tomtom9 · Nov 22, 2022 · 679 views
    This topic created in 1406 days ago, the information mentioned may be changed or developed.
    这里的 function 是 function component ,是在写前端时遇到的疑惑,感谢!


    我能想到的就只有作用域的区别了。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1088 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:45 · PVG 01:45 · LAX 10:45 · JFK 13:45
    ♥ Do have faith in what you're doing.