setLocation.d.ts 780 B

1234567891011121314151617181920212223242526
  1. import { Location } from 'src/types';
  2. export declare function setLocation(location?: Location): string | {
  3. '@type': string;
  4. name?: string | undefined;
  5. sameAs?: string | undefined;
  6. url: string;
  7. } | {
  8. address: string | {
  9. streetAddress: string;
  10. addressLocality: string;
  11. addressRegion?: string | undefined;
  12. postalCode: string;
  13. addressCountry: string;
  14. '@type': string;
  15. } | (string | {
  16. streetAddress: string;
  17. addressLocality: string;
  18. addressRegion?: string | undefined;
  19. postalCode: string;
  20. addressCountry: string;
  21. '@type': string;
  22. })[] | undefined;
  23. '@type': string;
  24. name: string;
  25. sameAs?: string | undefined;
  26. } | undefined;