Type 'string' is not assignable to type 'URL | undefined' #130
Answered
by
oscarotero
Isaac-Tait
asked this question in
Q&A
-
I am getting an error when I run
I checked the Here is what is in my
|
Beta Was this translation helpful? Give feedback.
Answered by
oscarotero
Jul 14, 2021
Replies: 1 comment 2 replies
-
Hi, @Isaac-Tait const site = lume({
location: new URL("https://example.com/"),
}); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Isaac-Tait
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, @Isaac-Tait
Yes, the
location
option accepts onlyURL
instances, so you have to change it as follows: