Socket
Socket
Sign inDemoInstall

@types/extract-files

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.1.0 to 8.1.1

8

extract-files/index.d.ts

@@ -9,4 +9,4 @@ // Type definitions for extract-files 8.1

uri: string;
type?: string;
name?: string;
type?: string | undefined;
name?: string | undefined;
}

@@ -16,4 +16,4 @@

uri: string;
type?: string;
name?: string;
type?: string | undefined;
name?: string | undefined;

@@ -20,0 +20,0 @@ constructor(options: ReactNativeFileOptions);

{
"name": "@types/extract-files",
"version": "8.1.0",
"version": "8.1.1",
"description": "TypeScript definitions for extract-files",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extract-files",
"license": "MIT",

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "9c71817c1afc77d48220715d6bfc71ab3e6e82d1ff1e970ab5325d11e4ae29f6",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "700fd1b08cb269a809acdbb91be4f8e5e9c67ab046a8605330d8e6a6cab75d8d",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,41 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extract-files.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extract-files/index.d.ts)
````ts
// Type definitions for extract-files 8.1
// Project: https://github.com/jaydenseric/extract-files#readme
// Definitions by: Edward Sammut Alessi <https://github.com/Slessi>
// Alex K <https://github.com/lynxtaa>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface ReactNativeFileOptions {
uri: string;
type?: string | undefined;
name?: string | undefined;
}
export class ReactNativeFile {
uri: string;
type?: string | undefined;
name?: string | undefined;
constructor(options: ReactNativeFileOptions);
}
export type ExtractableFile = File | Blob | ReactNativeFile;
export function isExtractableFile(value: any): value is ExtractableFile;
export function extractFiles<TFile = ExtractableFile>(
value: any,
path?: string,
isExtractableFile?: (value: any) => value is TFile,
): {
clone: any;
files: Map<TFile, string[]>;
};
````
### Additional Details
* Last updated: Sun, 12 Jul 2020 08:28:47 GMT
* Last updated: Tue, 06 Jul 2021 20:32:51 GMT
* Dependencies: none

@@ -14,0 +50,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc