So, I have an interface.ts file that looks something like this:
export interface Auction{ $key?:string; $auctioneer:string; ... } export interface Item{ $key?:string; condition?:string; description?:string; ...} export interface Bid{ $key?:string; amount:number; auction:string; ...} and so on ...
Now I can import these interfaces into each component / service by calling:
import { Auction,Item,Bid } from './interfaces';
But how can I import the interface.ts file so that all interfaces are accessible worldwide?
source share