Skip to content

Commit

Permalink
WIP v5
Browse files Browse the repository at this point in the history
  • Loading branch information
garbles committed Apr 20, 2022
1 parent 5980e4c commit bbad767
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { AsyncMutableRefObject } from "async-ref";
import type { KeyPaths, GetValueFromKeyPath, ExternalStore } from "./types";
import type { IBackend } from "./backends";
import type { Backend } from "./backends";

type KeyPaths_<T> = KeyPaths<T>;
type GetValueFromKeyPath_<T, KP extends KeyPaths<T>> = GetValueFromKeyPath<T, KP>;
type ExternalStore_<T> = ExternalStore<T>;
type Backend_<T> = IBackend<T>;
type Backend_<T> = Backend<T>;
type AsyncMutableRefObject_<T> = AsyncMutableRefObject<T>;

export module Types {
Expand All @@ -17,6 +17,4 @@ export module Types {
}

export { createFlags } from "./create-flags";
export { AbstractBackend, ComputedBackend, NullBackend, StaticBackend } from "./backends";

throw "GABE: AlwaysBackend and something when node env is test";
export { AlwaysBackend, AbstractBackend, ComputedBackend, NullBackend, StaticBackend } from "./backends";

0 comments on commit bbad767

Please sign in to comment.