You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to export default ... the types announce a named export called "default", which indeed does not exist necessitating the following workaround:
importajvTransformKeywordBorkedDefaultfrom"ajv-keywords/dist/definitions/transform.js"// moduleResolution: node16 workaround, the types erroneously have a named export "default" on the default exportconstajvTransformKeyword=ajvTransformKeywordBorkedDefaultasunknownastypeofajvTransformKeywordBorkedDefault.default
See similar issue ajv-validator/ajv#2132, but at least on ajv-validator the types and what is actually exported by the compiled JS still agree.
The text was updated successfully, but these errors were encountered:
Due to
export default ...
the types announce a named export called "default", which indeed does not exist necessitating the following workaround:See similar issue ajv-validator/ajv#2132, but at least on ajv-validator the types and what is actually exported by the compiled JS still agree.
The text was updated successfully, but these errors were encountered: