Skip to main content
symlinkSync - node__fs.d.ts - Node documentation
function symlinkSync

Usage in Deno

```typescript import { symlinkSync } from "node:node__fs.d.ts"; ```
symlinkSync(
target: PathLike,
path: PathLike,
type?: symlink.Type | null,
): void
Returns `undefined`. For detailed information, see the documentation of the asynchronous version of this API: [symlink](../.././node__fs.d.ts/~/symlink).

Parameters

target: PathLike
path: PathLike
optional
type: symlink.Type | null = 'null'

Return Type

void