mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
fix: move typings to actually be registered (#4754)
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
"moduleResolution": "node",
|
||||
/* Code generation */
|
||||
"outDir": "./out/dist",
|
||||
"paths": {
|
||||
"node-targz": ["./typings/node-targz.d.ts"]
|
||||
},
|
||||
"typeRoots": ["./typings", "./node_modules/@types"],
|
||||
"types": ["mocha", "chai", "chai-http"],
|
||||
/* Other options */
|
||||
|
||||
4
lib/lib.d.ts → typings/node-targz.d.ts
vendored
4
lib/lib.d.ts → typings/node-targz.d.ts
vendored
@@ -32,7 +32,7 @@ declare module 'node-targz' {
|
||||
|
||||
export interface CompressOptions {
|
||||
source: string;
|
||||
options: PackOptions | undefined;
|
||||
options?: PackOptions | undefined;
|
||||
level: number | undefined;
|
||||
memLevel: number | undefined;
|
||||
destination: PathLike;
|
||||
@@ -41,7 +41,7 @@ declare module 'node-targz' {
|
||||
export interface DecompressOptions {
|
||||
source: PathLike;
|
||||
destination: string;
|
||||
options: ExtractOptions | undefined;
|
||||
options?: ExtractOptions | undefined;
|
||||
}
|
||||
|
||||
export function compress(options: CompressOptions, cb: Callback): void;
|
||||
Reference in New Issue
Block a user