npm requires a peer of typescript code example Example: peer of typescript@>=2.8.0 npm install typescript