# withDenoRuntimeArgs

- Module: [Aspire.Hosting.JavaScript](/reference/api/typescript/aspire.hosting.javascript.md)
- Version: `17.0.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Appends raw runtime arguments injected verbatim BEFORE the entrypoint. This is the escape hatch that gives full parity with `AddExecutable("name", "deno", workdir, args...)` for any flag not covered by a dedicated `WithDeno*` method.

## Definition

```typescript
interface DenoAppResource {
  // ... omitted for brevity
  withDenoRuntimeArgs(args: string[]): DenoAppResource
}
```

## Parameters

- `args` (`string[]`)

## Returns

[DenoAppResource](/reference/api/typescript/aspire.hosting.javascript/denoappresource.md) `builder`

## Applies to

- [DenoAppResource](/reference/api/typescript/aspire.hosting.javascript/denoappresource.md)
