質問編集履歴

1

自己レビュー

2018/02/06 09:36

投稿

m0a
m0a

スコア708

test CHANGED
File without changes
test CHANGED
@@ -218,18 +218,12 @@
218
218
 
219
219
  let fetchData: FetchInterface = <FetchInterface>inFetchData;
220
220
 
221
- if (fetchData.type === undefined) {
221
+ if (fetchData.type !== "fetch") {
222
222
 
223
223
  return;
224
224
 
225
225
  }
226
226
 
227
- if (fetchData.type !== "fetch") {
228
-
229
- return;
230
-
231
- }
232
-
233
227
 
234
228
 
235
229
  const response = await fetch(fetchData.input, fetchData.init).catch(