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:
parent
9168078669
commit
c012c202af
1 changed files with 2 additions and 2 deletions
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue