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