mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00: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:
|
* * Example:
|
||||||
* ```
|
* ```
|
||||||
* // Unix
|
* // Unix
|
||||||
* console.log(import.meta.dirname); // /home/alice/
|
* console.log(import.meta.dirname); // /home/alice
|
||||||
*
|
*
|
||||||
* // Windows
|
* // Windows
|
||||||
* console.log(import.meta.dirname); // C:\alice\
|
* console.log(import.meta.dirname); // C:\alice
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
dirname?: string;
|
dirname?: string;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue