Skip to main content
Version: 0.24

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 dervies some WaspSpec.SpecElement name.


fromโ€‹

from: string

Module path, relative to the *.wasp.ts file using it.


importโ€‹

import: string

Exported name to import.