({ options, pkg })
| 232 | } |
| 233 | |
| 234 | function getDeclarationDir({ options, pkg }) { |
| 235 | const { cwd, output } = options; |
| 236 | |
| 237 | let result = output; |
| 238 | |
| 239 | if (pkg.types || pkg.typings) { |
| 240 | result = pkg.types || pkg.typings; |
| 241 | result = resolve(cwd, result); |
| 242 | } |
| 243 | |
| 244 | result = dirname(result); |
| 245 | |
| 246 | return result; |
| 247 | } |
| 248 | |
| 249 | async function getEntries({ input, cwd }) { |
| 250 | let entries = ( |
no outgoing calls
no test coverage detected
searching dependent graphs…