質問編集履歴

2

正しく動作した方法を追記

2017/07/10 06:12

投稿

MMashiro
MMashiro

スコア2378

test CHANGED
File without changes
test CHANGED
@@ -61,3 +61,21 @@
61
61
  - TypeScriptは npm install typescript -g でインストール済み
62
62
 
63
63
  - TypeScriptのバージョンは2.4.1 (Visual Studio Code上での確認)
64
+
65
+
66
+
67
+ ---
68
+
69
+
70
+
71
+ ## 追記
72
+
73
+ 下記の手順を試したところ、ビルド+正常な動作はしたので追記します。
74
+
75
+ (TypeScriptのバージョンを変更しているので対症療法的であまりスッキリしませんが…)
76
+
77
+
78
+
79
+ - TypeScriptのバージョンを`^2.0.3`から`2.1.6`に変更する(先頭に`^`がついていたら2系の最新のものを取得するという認識です)
80
+
81
+ - `tsconfig.json`内の`module`を`es2015`に変更する

1

タイトルのバージョン表記に間違い

2017/07/10 06:12

投稿

MMashiro
MMashiro

スコア2378

test CHANGED
@@ -1 +1 @@
1
- TypeScript 2.0 + Electronでexports is not defined
1
+ TypeScript 2 + Electronでexports is not defined
test CHANGED
File without changes