Skip to content

Commit

Permalink
fix: Fix types for MapeoProject (#2)
Browse files Browse the repository at this point in the history
* chore: Update to latest @mapeo/core

* fix: Fix types for MapeoProject

Previously `client.getProject()` was returning `Promise<MapeoProject>`.
It should return `Promise<ClientApi<MapeoProject>>`.

The `ClientApi` wrapper ensures that all properties and methods are
async (a consequence of calling the API over IPC).

* chore: update type exports
  • Loading branch information
gmaclennan authored Dec 21, 2023
1 parent 19d495d commit 2b960e7
Show file tree
Hide file tree
Showing 5 changed files with 243 additions and 172 deletions.
Loading

0 comments on commit 2b960e7

Please sign in to comment.