---
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/c5b7bf2d8720f66cef5e7e99c47a7faff8fd9ca5/src/features/deps.ts#L45)

## Parameters

### id

`string`

### importer

`string` | `undefined`

## Returns

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