console typing declare console without using "lib": ["dom"]/@types/node prevent use a browser/node feature by mistake