index.d.ts 610 B

123456789101112131415
  1. /**
  2. * @license
  3. * Copyright 2023 Google LLC
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. import { Signal } from 'signal-polyfill';
  7. export * from 'signal-polyfill';
  8. export * from './lib/signal-watcher.js';
  9. export * from './lib/watch.js';
  10. export * from './lib/html-tag.js';
  11. export declare const State: typeof Signal.State;
  12. export declare const Computed: typeof Signal.Computed;
  13. export declare const signal: <T>(value: T, options?: Signal.Options<T>) => Signal.State<T>;
  14. export declare const computed: <T>(callback: () => T, options?: Signal.Options<T>) => Signal.Computed<T>;
  15. //# sourceMappingURL=index.d.ts.map