Generating type URL instead of any #4780
Answered
by
ardatan
johannesbraeunig
asked this question in
General
-
Hi, I just figured out that if we have a field of type type Something {
id: ID!
url: URL!
} export type Seomthing = {
id: string;
url: any;
}; How it should be!? export type Seomthing = {
id: string;
url: URL;
}; Is there a way to type |
Beta Was this translation helpful? Give feedback.
Answered by
ardatan
Sep 23, 2020
Replies: 1 comment 1 reply
-
You can use
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
johannesbraeunig
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
scalars
option like below;