Skip to main content
Version: Next

Interface: NamedExtImport

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

Properties

alias?

optional alias?: string

Optional local alias.

When Wasp derives a declaration name from this import, the alias takes precedence over the import field.


from

from: `@src/${string}`

Module path. Must start with @src/.


import

import: string

Exported name to import.