aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/globals.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/monorepo-scripts/src/globals.d.ts')
-rw-r--r--packages/monorepo-scripts/src/globals.d.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/globals.d.ts b/packages/monorepo-scripts/src/globals.d.ts
index 757ae4097..1d49559f2 100644
--- a/packages/monorepo-scripts/src/globals.d.ts
+++ b/packages/monorepo-scripts/src/globals.d.ts
@@ -6,3 +6,22 @@ declare module 'es6-promisify';
declare module 'semver-sort' {
const desc: (versions: string[]) => string[];
}
+
+declare interface LernaPackage {
+ location: string;
+ package: {
+ private?: boolean;
+ name: string;
+ main?: string;
+ config?: {
+ additionalTsTypings?: string[];
+ };
+ };
+}
+declare function lernaGetPackages(path: string): LernaPackage[];
+// lerna-get-packages declarations
+declare module 'lerna-get-packages' {
+ export = lernaGetPackages;
+}
+
+declare module 'promisify-child-process';