1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

docs(cli): remove trailing slash from import.meta.dirname expected output (#24295)

This commit is contained in:
Asher Gomez 2024-06-21 15:52:46 +10:00 committed by GitHub
parent 9168078669
commit c012c202af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,10 +50,10 @@ declare interface ImportMeta {
* * Example:
* ```
* // Unix
* console.log(import.meta.dirname); // /home/alice/
* console.log(import.meta.dirname); // /home/alice
*
* // Windows
* console.log(import.meta.dirname); // C:\alice\
* console.log(import.meta.dirname); // C:\alice
* ```
*/
dirname?: string;