Typescript es2017 export keyword error invalid token

I am getting this error in my typescript.
It is a png export code i got from github.

Syntax error on line 7: Unexpected token
export interface ExportableBytes {