【问题标题】:Trading View Typescript Emitted no output交易视图打字稿没有输出
【发布时间】:2019-01-29 04:15:27
【问题描述】:

我正在使用 vuejs + nuxtjs,并将交易视图集成到我的项目中。当我尝试在 vue 组件中导入 charting_library.min.d.ts 时,它返回错误。

Module build failed (from ./node_modules/ts-loader/index.js):
Error: TypeScript emitted no output for [[charting_library.min.d.ts file]]

【问题讨论】:

    标签: typescript vue.js nuxt.js tradingview-api


    【解决方案1】:

    修改tsconfig.json可以解决这个问题。

    通过添加关闭发射输出:

    "compilerOptions": {
      "noEmit": false
    }
    

    如果你需要这个功能,请尝试添加:

    "exclude": [
      "node_modules"
    ]
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-09
      • 2018-04-14
      • 2023-01-24
      • 2015-06-30
      • 1970-01-01
      • 2021-11-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多