parse_imports.ts

view source

Declarations
#

2 declarations

ImportSpecifier
#

parse_imports.ts view source

ImportSpecifier

type string & Flavor<"ImportSpecifier">

import type {ImportSpecifier} from '@fuzdev/gro/parse_imports.js';

external types

Flavored<string, 'ImportSpecifier'>

parse_imports
#

parse_imports.ts view source

(id: PathId, contents: string, ignore_types?: boolean): ImportSpecifier[] import {parse_imports} from '@fuzdev/gro/parse_imports.js';

id

type PathId

contents

type string

ignore_types

type boolean
default true

returns

ImportSpecifier[]

Depends on
#

Imported by
#