Expose types
Closed this issue · 4 comments
AydanGaite commented
Currently I can't import type declarations unless I copy them into my own declaration file.
unlocomqx commented
Which types are you trying to import?
Can you share a code sample?
AydanGaite commented
I want ReadableQuery
from the svelte-apollo-client
declaration file so I can strongly type query
instead of inferring it.
unlocomqx commented
I exported the types in 0.1.0
, you can import it using
import type { ReadableQuery } from "svelte-apollo-client";
AydanGaite commented
Perfect thanks