Guest User

Untitled

a guest
Jan 13th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # promise
  2.  
  3. tscコンパイル前に、promiseも変換できるようにtsconfig.json内に
  4. 「es2015.promise」を追記します。
  5.  
  6. ```tsconfig.json
  7. "lib" : ["es2015", "es2015.iterable", "dom", "es2015.promise"]
  8. ```
  9.  
  10. その後、tscを実行して下さい。
Add Comment
Please, Sign In to add comment