meteor - Cannot find name 'console' -


i using angular2-meteor, typescript. (meteor version 1.3.2.4)

when use console.log('test'); on server side, working well.

however, got warning in terminal:

cannot find name 'console'.

how can rid of warning?

or there special method such meteor.log server side? thanks

how can rid of warning?

if typescript compiler warning (and not runtime one) console defined in lib.d.ts : https://basarat.gitbooks.io/typescript/content/docs/types/lib.d.ts.html

make sure compiler setup correctly (e.g. doesn't have --nolib or custom incorrect --lib). might want @ tsconfig.json's compileroptions (if any)


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -