@types/wicg-file-system-access
Advanced tools
Comparing version 2020.9.5 to 2020.9.6
@@ -82,8 +82,8 @@ // Type definitions for non-npm package File System Access API 2020.09 | ||
type WriteParams = | ||
| { type: 'write'; position?: number | undefined; data: BufferSource | Blob | string } | ||
| { type: 'seek'; position: number } | ||
| { type: 'truncate'; size: number }; | ||
// type WriteParams = | ||
// | { type: 'write'; position?: number | undefined; data: BufferSource | Blob | string } | ||
// | { type: 'seek'; position: number } | ||
// | { type: 'truncate'; size: number }; | ||
type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams; | ||
// type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams; | ||
@@ -96,7 +96,7 @@ // TODO: remove this once https://github.com/microsoft/TSJS-lib-generator/issues/881 is fixed. | ||
class FileSystemWritableFileStream extends WritableStream { | ||
write(data: FileSystemWriteChunkType): Promise<void>; | ||
seek(position: number): Promise<void>; | ||
truncate(size: number): Promise<void>; | ||
} | ||
// class FileSystemWritableFileStream extends WritableStream { | ||
// write(data: FileSystemWriteChunkType): Promise<void>; | ||
// seek(position: number): Promise<void>; | ||
// truncate(size: number): Promise<void>; | ||
// } | ||
@@ -103,0 +103,0 @@ interface FileSystemFileHandle extends FileSystemHandle { |
{ | ||
"name": "@types/wicg-file-system-access", | ||
"version": "2020.9.5", | ||
"version": "2020.9.6", | ||
"description": "TypeScript definitions for File System Access API", | ||
@@ -16,2 +16,9 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wicg-file-system-access", | ||
"types": "index.d.ts", | ||
"typesVersions": { | ||
"<=5.0": { | ||
"*": [ | ||
"ts5.0/*" | ||
] | ||
} | ||
}, | ||
"repository": { | ||
@@ -24,4 +31,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "56672f6a126639189c1d92b7321f7743b79a93b0b0156487ecb68d450bd58d69", | ||
"typesPublisherContentHash": "eb1bd0e3ba1481c46796baf58e8f13cfe69231d882b1e520749a2074583c87c6", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 28 Jan 2022 21:31:31 GMT | ||
* Last updated: Thu, 06 Apr 2023 19:03:16 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17774
5
383