TypeScript Code Issue After Updating to 3.0
Since updating to 3.0 this no longer works:
any ideas what I need to change here?
any ideas what I need to change here?
export const taggedStruct = <Name extends AST.LiteralValue | symbol, Fields extends S.Struct.Fields>(
name: Name,
fields: Fields,
) => S.Struct(fields).pipe(S.attachPropertySignature("_tag", name));