Commit 551aef1
Changed files (3)
build/vendor-extra.d.ts
@@ -457,13 +457,12 @@ declare const fs$1: typeof import("fs-extra");
export declare const YAML: typeof _YAML;
export declare const glob: typeof _glob;
export declare const nodeFetch: typeof fetch$1;
-type Minimist = typeof minimist;
-type MinimistOpts = Parameters<Minimist>[1];
-type MinimistParsedArgs = ReturnType<Minimist>;
-declare const minimist$1: Minimist;
+declare const minimist$1: typeof minimist;
declare namespace minimist$1 {
- type Opts = MinimistOpts;
- type ParsedArgs = MinimistParsedArgs;
+ interface Opts extends minimist.Opts {
+ }
+ interface ParsedArgs extends minimist.ParsedArgs {
+ }
}
export {
src/vendor-extra.ts
@@ -129,11 +129,8 @@ export const YAML: typeof _YAML = wrap('YAML', _YAML)
export const glob: typeof _glob = wrap('glob', _glob)
export const nodeFetch: typeof _nodeFetch = wrap('nodeFetch', _nodeFetch)
-type Minimist = typeof _minimist
-type MinimistOpts = Parameters<Minimist>[1]
-type MinimistParsedArgs = ReturnType<Minimist>
-export const minimist: Minimist = wrap('minimist', _minimist)
+export const minimist: typeof _minimist = wrap('minimist', _minimist)
export namespace minimist {
- export type Opts = MinimistOpts
- export type ParsedArgs = MinimistParsedArgs
+ export interface Opts extends _minimist.Opts {}
+ export interface ParsedArgs extends _minimist.ParsedArgs {}
}
.size-limit.json
@@ -36,14 +36,14 @@
{
"name": "libdefs",
"path": "build/*.d.ts",
- "limit": "39.15 kB",
+ "limit": "39.05 kB",
"brotli": false,
"gzip": false
},
{
"name": "vendor",
"path": "build/vendor-*.{cjs,d.ts}",
- "limit": "765.65 kB",
+ "limit": "765.55 kB",
"brotli": false,
"gzip": false
},
@@ -62,7 +62,7 @@
"README.md",
"LICENSE"
],
- "limit": "868.45 kB",
+ "limit": "868.40 kB",
"brotli": false,
"gzip": false
}