Sha256: b9d98a5a58a67e64f6dd73fc63d2d9588c219d7603e9120e294286283c2af729

Contents?: true

Size: 342 Bytes

Versions: 81

Compression:

Stored size: 342 Bytes

Contents

import { Path, LocationHook } from "./index";

interface StaticLocationHookOptions {
  record?: boolean;
}

interface StaticLocationHook extends LocationHook {
  history: Readonly<Path[]>;
}

declare function staticLocationHook(
  path?: Path,
  options?: StaticLocationHookOptions,
): StaticLocationHook;

export default staticLocationHook;

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
isomorfeus-preact-10.5.2 node_modules/wouter-preact/static-location.d.ts