NJ Municipality Lookup
CodebaseSrc

Types

TypeScript type definitions for the Business Municipality Lookup application.

Types

TypeScript type definitions for the Business Municipality Lookup application.

Purpose

This directory contains shared TypeScript type definitions used across the application, including types for Progressive Web App (PWA) manifests and mobile navigation components.

Key Types

PWA Types

  • PWAManifest: Structure for Progressive Web App manifest
  • ManifestIcon: Icon configuration for PWA installation
  • Defined in pwa-manifest.ts
  • MobileNavDropdownProps: Props for mobile navigation dropdown component
  • Defined in mobile-navigation.ts

Usage

Import types from this directory when you need shared type definitions:

import type { PWAManifest } from "@/types/pwa-manifest";
import type { MobileNavDropdownProps } from "@/types/mobile-navigation";

File Organization

  • pwa-manifest.ts - PWA manifest and icon types
  • mobile-navigation.ts - Mobile navigation component types

On this page