feat: support auto decompiling with cfr

This commit is contained in:
ReaJason
2026-08-30 21:19:42 +08:00
parent b74c8f6155
commit 305bc0e12c
19 changed files with 692 additions and 29 deletions
+10
View File
@@ -0,0 +1,10 @@
declare module "@run-slicer/cfr" {
export type Options = Record<string, string>;
export interface Config {
source?: (name: string) => Uint8Array | null;
options?: Options;
}
export function decompile(name: string, config?: Config): Promise<string>;
}