automerge / automerge-repo

MIT License
458 stars 51 forks source link

Use "export type" to export Cursor type #345

Closed geoffreylitt closed 5 months ago

geoffreylitt commented 5 months ago

If the export keyword is used to export the TS type for 'Cursor', it can cause downstream TS projects using the 'isolatedModules' flag. This fixes that problem; tested by running tsc on a downstream project.