Skip to main content
Version: Next

Interface: NamedRefObjectDescriptor

Named import reference, equivalent to import { SomeValue } from "./src/someModule" with { type: "ref" }.

Properties

alias?

optional alias?: string

Optional local alias.

Alias takes precedence over the import field when Wasp Spec derives some WaspSpec.SpecElement name.


from

from: string

Relative app path or package specifier.


import

import: string

Exported name to import.