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

x/live/deps.ts>NamedImportSpecifier

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
interface NamedImportSpecifier
implements Node, HasSpan
import { type NamedImportSpecifier } from "https://deno.land/x/live@1.60.0/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