Eternal1
01/23/2018, 2:01 PMconst options = {
port: parseInt(process.env.APP_PORT),
playground: process.env.APP_ENV !== 'production' ? '/production' : false
};
server.start(options);
However, i get an error that type string | boolean
is not assignable to type string | false
. Is there any workaround here?