Skip to content

Commit 70f690c

Browse files
fix(overmind): fix bad import of subtype
1 parent ed55825 commit 70f690c

File tree

1 file changed

+5
-1
lines changed
  • packages/node_modules/overmind/src/config

1 file changed

+5
-1
lines changed

packages/node_modules/overmind/src/config/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import { Configuration, TAction } from '../'
2-
import { SubType } from 'overmind/src/internalTypes'
2+
3+
type SubType<Base, Condition> = Pick<
4+
Base,
5+
{ [Key in keyof Base]: Base[Key] extends Condition ? Key : never }[keyof Base]
6+
>
37

48
/*
59
MERGE

0 commit comments

Comments
 (0)