Fix Turbopack module resolution for lzma and restore path imports
This commit is contained in:
1 parent
a5044c80d7
commit
e06596391e
35 files changed
+392
-333
No files matched your search
Vendored
+12
-5
@@ -1,7 +1,14 @@
|
||||
declare module "lzma" {
|
||||
const lzma: {
|
||||
decompress(input: Buffer | Uint8Array | number[]): number[];
|
||||
compress(input: string | Uint8Array | number[], mode?: number): number[];
|
||||
};
|
||||
export default lzma;
|
||||
export const LZMA: any;
|
||||
export function decompress(
|
||||
byte_array: any,
|
||||
on_finish?: (result: any, error: any) => void,
|
||||
on_progress?: (percent: number) => void,
|
||||
): any;
|
||||
export function compress(
|
||||
string: string | Uint8Array,
|
||||
mode: number,
|
||||
on_finish?: (result: any, error: any) => void,
|
||||
on_progress?: (percent: number) => void,
|
||||
): any;
|
||||
}
|
||||
Reference in new issue
Block a user