Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Commit

Permalink
fix(ts): fix type export configuration (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
potato4d authored and Pooya Parsa committed Jun 4, 2019
1 parent b71e18d commit 0ad374c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions types/lmify.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ declare class Lmify {
// for initalize
init(): void
private _init(): Promise<void>

// options
setPackageManager(name: 'npm' | 'yarn'): void
setRootDir(): void
Expand All @@ -18,6 +18,5 @@ declare class Lmify {
install(packages: string[]): Promise<void> | execa.ExecaReturns
}

declare module 'lmify' {
export default Lmify
}
declare var lmify: Lmify;
export = lmify;

0 comments on commit 0ad374c

Please sign in to comment.