打字稿:typings.json缺失

时间:2017-11-26 20:00:21

标签: typescript npm typescript-typings

目前,我收到了这封编辑信息:

  

typings.json缺失

我当前的 Instant start = Instant.now(); ExecutorService executor = Executors.newCachedThreadPool(); Future<?> future = executor.submit(task); try { future.get(800, TimeUnit.MILLISECONDS); } catch (TimeoutException e) { future.cancel(true); double durationInMillis = Duration.between(start, Instant.now()).toMillis(); System.out.println("Timeout after "+durationInMillis+" [ms]"); } 有这种依赖关系:

packages.json

任何想法?

1 个答案:

答案 0 :(得分:0)

打字稿编译器并不需要&#39; typings.json&#39;总是,所以你需要提供更多信息。您是否使用npm来安装&#39;打字稿&#39;已经?