ERROR in node_modules/@angular/common/http/src/module.d.ts(88,23): error TS1183: An implementation cannot be declared in ambient contexts.
src/app/services/pubs.service.ts(18,16): error TS2352: Conversion of type 'Promise<any>' to type 'pubs[]' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type 'Promise<any>' is missing the following properties from type 'pubs[]': length, pop, push, concat, and 26 more.
ERROR in node_modules/@angular/common/http/src/module.d.ts(88,23): error TS1183: An implementation cannot be declared in ambient contexts.
hmm is it because my classes are named the same?