diff --git a/example/example.tsx b/example/example.tsx index c6cd64d..d45db26 100644 --- a/example/example.tsx +++ b/example/example.tsx @@ -1,6 +1,5 @@ import React, { FC } from 'react'; import { Digraph, Node, Subgraph, renderToDot, Edge, DOT } from '../src'; -import { ClusterPortal } from '../src/components/ClusterPortal'; const Example: FC = () => ( ; declare global { // eslint-disable-next-line @typescript-eslint/no-namespace diff --git a/src/utils/value-of.ts b/src/utils/value-of.ts new file mode 100644 index 0000000..5f2cf2c --- /dev/null +++ b/src/utils/value-of.ts @@ -0,0 +1 @@ +export type ValueOf = T[keyof T];