Interface: NamedRefObjectDescriptor
Named import reference, equivalent to
import { SomeValue } from "./src/someModule" with { type: "ref" }.
Propertiesโ
alias?โ
optionalalias?: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.