effect icon indicating copy to clipboard operation
effect copied to clipboard

Export as named module

Open pradyuman opened this issue 2 years ago • 0 comments

🚀 Feature request

Current Behavior

Currently, you have to use a namespace import to use Schema.

Desired Behavior

If I were to use this in a larger organization, being able to use a named import would make this easier for others to grok (and also easier to use with intellisense):

import { S } from "@effect/schema/Schema"

Both Effect and zod support this pattern currently.

pradyuman avatar Sep 03 '23 21:09 pradyuman