docs: fix typo in import.meta.resolve (#5146)

This commit is contained in:
Jonathan Neal
2023-09-12 22:14:26 -04:00
committed by GitHub
parent 8d3829114e
commit 3b2c0941e4

View File

@@ -39,7 +39,7 @@ import.meta.resolveSync("zod")
---
- `import.meta.resolve{Sync}`
- Resolve a module specifier (e.g. `"zod"` or `"./file.tsx`) to an absolute path. While file would be imported if the specifier were imported from this file?
- Resolve a module specifier (e.g. `"zod"` or `"./file.tsx"`) to an absolute path. While file would be imported if the specifier were imported from this file?
```ts
import.meta.resolveSync("zod");