fidm / quic

[DEPRECATED, recommended https://github.com/nodejs/quic] A QUIC server/client implementation in Node.js
MIT License
130 stars 13 forks source link

Some minor update on TSConfig #7

Closed motss closed 6 years ago

motss commented 6 years ago
zensh commented 6 years ago

Thank you

zensh commented 6 years ago

I just turn off esModuleInterop because of https://travis-ci.org/toajs/quic/jobs/366706904

motss commented 6 years ago

@zensh Don't think you should. --esModuleInterop is to tackle libraries who does not have default import. Depends on which one you're using in ilog as I can see .mjs and .js version, you can use import ilog from 'ilog' instead of import * as ilog from 'ilog'.

The safest way is to import { ilog } from 'ilog'; if this is possible.