( isTypeOnly: boolean, propertyName: string | undefined, name: string, )
| 293 | // original exported name; name is the local binding. When the two are the |
| 294 | // same the alias is dropped at print time so the output is the short form. |
| 295 | export function importSpecifier( |
| 296 | isTypeOnly: boolean, |
| 297 | propertyName: string | undefined, |
| 298 | name: string, |
| 299 | ): ts.ImportSpecifier { |
| 300 | return ts.factory.createImportSpecifier( |
| 301 | isTypeOnly, |
| 302 | propertyName ? identifier(propertyName) : undefined, |
| 303 | identifier(name), |
| 304 | ); |
| 305 | } |
| 306 | |
| 307 | // importDeclaration builds a named-imports declaration: |
| 308 | // import { a, b as c } from "module" |
nothing calls this directly
no test coverage detected
searching dependent graphs…