Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deco/deps.ts>NamedImportSpecifier

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
interface NamedImportSpecifier
implements Node, HasSpan
import { type NamedImportSpecifier } from "https://deno.land/x/deco@1.75.1/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