Code transformation
addImport
addImport(importString)
Adds import to js file. Accepts code with imports and automatically merges file imports with provided imports.
Parameters
importString
string
requiredFull import line, e.g. import { useEffect } from "react"
.
Was this page helpful?