Skip to main content
Module

x/deco/deps.ts>NamedImportSpecifier

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Very Popular
Go to Latest
interface NamedImportSpecifier
implements Node, HasSpan
import { type NamedImportSpecifier } from "https://deno.land/x/deco@1.40.2/deps.ts";

e.g. - import { foo } from 'mod.js'

local = foo, imported = None

e.g. import { foo as bar } from 'mod.js'

local = bar, imported = Some(foo) for

Properties

type: "ImportSpecifier"
local: Identifier
optional
imported: ModuleExportName
isTypeOnly: boolean