(pkg: string, includeInlined = false)
| 104 | } |
| 105 | |
| 106 | const modulesOf = (pkg: string, includeInlined = false) => |
| 107 | readdirSync(fromPackage(pkg, "out"), { recursive: true, encoding: "utf8" }) |
| 108 | .filter( |
| 109 | path => |
| 110 | path.endsWith(".d.ts") && |
| 111 | (includeInlined || |
| 112 | (!path.startsWith("_internal/") && |
| 113 | !path.startsWith("_internal\\") && |
| 114 | !path.startsWith("_util/") && |
| 115 | !path.startsWith("_util\\") && |
| 116 | path !== "shared/issueFeatures.d.ts" && |
| 117 | path !== "shared\\issueFeatures.d.ts")) |
| 118 | ) |
| 119 | .map(path => path.slice(0, -".d.ts".length).replace(/\\/g, "/")) |
| 120 | |
| 121 | const program = ts.createProgram( |
| 122 | packages.flatMap(pkg => |
no test coverage detected