Skip to content

PromptScript API


Interface: ResolveOptions

Defined in: resolver/src/index.ts:54

Options for standalone resolve function.

Extends

Properties

cache?

optional cache: boolean

Defined in: resolver/src/resolver.ts:14

Whether to cache resolved ASTs. Defaults to true.

Inherited from

ResolverOptions.cache


localPath?

optional localPath: string

Defined in: resolver/src/loader.ts:13

Base path for local/relative file resolution

Inherited from

ResolverOptions.localPath


registryPath

registryPath: string

Defined in: resolver/src/loader.ts:11

Base path for registry lookups (@namespace/...)

Inherited from

ResolverOptions.registryPath


resolver?

optional resolver: Resolver

Defined in: resolver/src/index.ts:56

Reuse an existing resolver instance