We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58de29b commit cd93b69Copy full SHA for cd93b69
1 file changed
src/index.d.ts
@@ -247,7 +247,7 @@ interface LyncModule {
247
this: void,
248
tagField: Tag,
249
variants: V,
250
- ): Lync.Codec<{ [K in keyof V]: Lync.InferSchema<{ [F in Tag]: K }> & Lync.InferCodec<V[K]> }[keyof V]>;
+ ): Lync.Codec<{ [K in keyof V & string]: { [F in Tag]: K } & Lync.InferCodec<V[K]> }[keyof V & string]>;
251
252
// ── Meta ────────────────────────────────────────────────────────
253
@@ -260,4 +260,4 @@ interface LyncModule {
260
}
261
262
declare const Lync: LyncModule;
263
-export = Lync;
+export = Lync;
0 commit comments