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

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

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