typescript fetch is not defined, name cudnn is not defined