dzdh
V2EX  ›  JetBrains

普通 html 文件引用 js 怎么能有提示

  •  
  •   dzdh · Apr 3, 2024 · 2026 views
    This topic created in 903 days ago, the information mentioned may be changed or developed.

    比如目录结构 x.html js/xterm.js

    x.html: <script> new Terminal() </script>

    对前端架构不太了解 这需要怎么配置才能有提示

    2 replies    2024-04-03 21:10:38 +08:00
    chenliangngng
        1
    chenliangngng  
       Apr 3, 2024
    代码贴全一下?
    bgm004
        2
    bgm004  
       Apr 3, 2024 via Android
    放/写个 d.ts 文件😂
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5034 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:46 · PVG 13:46 · LAX 22:46 · JFK 01:46
    ♥ Do have faith in what you're doing.