Effect CommunityEC
Effect Community2y ago
11 replies
Cole

Merging Annotations in TypeScript with Pipe

If I add another pipe to annotations, will it merge the annotations together?
export const DEPLOY_SERVER_SENTRY_PROJECT_ID = DEPLOY_EDITOR_UI_SENTRY_PROJECT_ID.pipe(
  S.annotations({ identifier: "DEPLOY_SERVER_SENTRY_PROJECT_ID" }),
  S.annotations({ description: "A description of this env var" }),
);
Was this page helpful?