unlocomqx/svelte-apollo-client

Expose types

Closed this issue · 4 comments

Currently I can't import type declarations unless I copy them into my own declaration file.

Which types are you trying to import?
Can you share a code sample?

I want ReadableQuery from the svelte-apollo-client declaration file so I can strongly type query instead of inferring it.

I exported the types in 0.1.0, you can import it using

import type { ReadableQuery } from "svelte-apollo-client";

Perfect thanks