We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get Typescript error when I define the function passed into resolveUrl with Readonly<URL>.
resolveUrl
Readonly<URL>
Type '(url: Readonly<URL>) => Readonly<URL>' is not assignable to type '(url: URL, location: Location, type: ResolveUrlType) => URL | null | undefined'. Type 'Readonly<URL>' is not assignable to type 'URL'. Type 'Readonly<URL>' provides no match for the signature 'new (url: string | URL, base?: string | URL | undefined): URL'.
https://github.com/NaucMeIT/web/blob/e5449239cbfd995dea9749055db6e376c8f28c5c/apps/legacy_nmit/pages/_document.tsx#L57
@builder.io/party
Partytown
url: Readonly<URL>
Compile time
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I get Typescript error when I define the function passed into
resolveUrl
withReadonly<URL>
.Reproduction
https://github.com/NaucMeIT/web/blob/e5449239cbfd995dea9749055db6e376c8f28c5c/apps/legacy_nmit/pages/_document.tsx#L57
Steps to reproduce
@builder.io/party
into projectPartytown
React componentresolveUrl
function that hasurl: Readonly<URL>
Browser Info
Compile time
Additional Information
No response
The text was updated successfully, but these errors were encountered: