# DenoAppResource.withDenoScriptArgs

- Module: [Aspire.Hosting.JavaScript](/reference/api/typescript/aspire.hosting.javascript.md)
- Defined on: [DenoAppResource](/reference/api/typescript/aspire.hosting.javascript/denoappresource.md)
- Version: `13.6.0`
- Kind: `method`

Appends arguments passed to the script AFTER the entrypoint. Deno forwards everything after the entrypoint to the running program.

## Definition

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

## Signature

```typescript
withDenoScriptArgs(args: string[]): DenoAppResource
```

## Parameters

- `args` (`string[]`)

## Returns

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

## Defined on

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