Javascript Cannot Use Import Statement Outside A Module Angular 8

Javascript Cannot Use Import Statement Outside A Module Angular 8