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

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -