TypeScriptのトランスパイルTips

2917a3c430817eb71086f8973c06ebba?s=47 sakito
October 24, 2018
790

 TypeScriptのトランスパイルTips

We Are JavaScripters! @25thでの登壇資料

We Are JavaScripters! @25th
https://wajs.connpass.com/event/103761/

@Twitter
https://twitter.com/__sakito__

2917a3c430817eb71086f8973c06ebba?s=128

sakito

October 24, 2018
Tweet

Transcript

  1. 5ZQF4DSJQUͷτϥϯεύΠϧ5JQT 8F"SF+BWB4DSJQUFST!UI

  2. None
  3. UTMPBEFSͱBXFTPNFUZQFTDSJQUMPBEFS

  4. UTMPBEFS w XFCQBDLͰ5ZQF4DSJQUͷτϥϯεύΠϧ࣌ʹ࢖༻͢ΔMPBEFS

  5. UTMPBEFSͷߴ଎Խ w UTMPBEFSͷPQUJPOͰUSBOTQJMF0OMZΛUSVFʹ͢Δ w GPSLUTDIFDLFSXFCQBDLQMVHJOͰܕΛνΣοΫͰ͖ΔΑ͏ʹ͢Δ w )BQQZ1BDLΛ࢖༻ͯ͠ɺτϥϯεύΠϧͱܕνΣοΫΛฒྻԽ͢Δ

  6. BXFTPNFUZQFTDSJQUMPBEFS w XFCQBDLͰ5ZQF4DSJQUͷτϥϯεύΠϧ࣌ʹ࢖༻͢ΔMPBEFS w UTMPBEFSͱൺ΂ͯ5ZQF4DSJQU CBCFM͕΍Γ΍͘͢ɺ
 ϑΝΠϧΩϟογϡػೳ΋͋Δ

  7. BXFTPNFUZQFTDSJQUMPBEFSͰCBCFM w CBCFM͔ΒCBCFMDPSFͷࢦఆ͕ඞཁ w CBCFMͷίϯύΠϥͰ͸ͳ͘ɺUTͷίϯύΠϥΛ࢖༻Ͱ͖Δ

  8. CBCFMͰ5ZQF4DSJQUͷτϥϯεύΠϧ

  9. CBCFM͔ΒՄೳʹ w !CBCFMQSFTFUUZQFTDSJQUΛ࢖༻͢Δ͜ͱͰɺ
 CBCFMͰ΋τϥϯεύΠϧՄೳʹ w CBCFMͷίϯύΠϥΛ࢖༻͢ΔͷͰɺܕͷνΣοΫ͸ߦΘΕͳ͍

  10. CBCFMͰͷܕνΣοΫ w 74$PEF΍*OUFMMJ+*%&"ͷੈلͷΤσΟλΛ࢖͏ w IVTLZͰUTDΛ࢖ͬͯܕνΣοΫ͢Δ w $*ͰUTDΛ࢖ͬͯܕνΣοΫ͢Δ w ϩʔΧϧͰ౎౓UTDΛ࣮ߦͯ͠ܕΛνΣοΫ͢Δ
 ɾάϩʔόϧΠϯετʔϧ͞ΕͨUTDͱ࣮ࡍʹ࢖༻͍ͯ͠Δ5ZQF4DSJQUͷ


    όʔδϣϯ͕ҧ͏ͱҟͳͬͨΤϥʔ͕ͰΔͷͰ஫ҙ w GPSLUTDIFDLFSXFCQBDLQMVHJOΛ࢖༻͢Δ
 ͜ͷํ๏͸DSFBUSFBDUBQQ΍/FYUKTͰ΋࠾༻͍ͯ͠Δ
  11. CBCFMͰͷ஫ҙ఺

  12. CBCFMͰͷ஫ҙ఺

  13. ·ͱΊ

  14. ·ͱΊ w UTMPBEFS͔BXFTPNFUZQFTDSJQUMPBEFSͰ
 UTͷίϯύΠϥʹ·͔ͤΔͷ͕Α͍ w CBCFMΛ࢖༻͢Δ৔߹
 ɾσϝϦοτ΋͖ͪΜͱཧղͯ͠࢖༻͢Δ
 ɾܕνΣοΫ͸޷Έͷํ๏Ͱ

  15. ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠