---
url: /reference/api/TypeAlias.NoExternalFn.md
---
# Type Alias: NoExternalFn

```ts
type NoExternalFn = (id, importer) => boolean | null | undefined | void
```

Defined in: [src/features/deps.ts:45](https://github.com/rolldown/tsdown/blob/e88155a5f2eef50a708ce04f2f868f0d6320b4ff/src/features/deps.ts#L45)

## Parameters

### id

`string`

### importer

`string` | `undefined`

## Returns

`boolean` | `null` | `undefined` | `void`
