melatonina
03/21/2017, 1:59 PMmain to take an array of strings for it to be detected but then the generate code passes an empty array? fun main() is not used as entry point, fun main(args : Array<String>) is used as entry point but args will always be an empty array. I'm using moduleKind = "commonjs".konsoletyper
03/21/2017, 2:02 PMkonsoletyper
03/21/2017, 2:03 PMkonsoletyper
03/21/2017, 2:05 PMmain at all. Actually, it's not of much use in browser. I think the better approach is to define some function (start, for example) and call it from body.onloadmelatonina
03/21/2017, 2:06 PMmelatonina
03/21/2017, 2:09 PMkonsoletyper
03/21/2017, 2:10 PMtypeof process !== 'undefined' && process.versions && !!process.versions.nodekonsoletyper
03/21/2017, 2:11 PMmelatonina
03/21/2017, 2:12 PMmelatonina
03/21/2017, 2:49 PMkonsoletyper
03/21/2017, 3:04 PM