@types/ref-struct
Advanced tools
@@ -7,3 +7,3 @@ // Type definitions for ref-struct | ||
| import ref = require('ref'); | ||
| import ref = require("ref"); | ||
@@ -17,8 +17,7 @@ /** | ||
| * struct with the data. | ||
| * | ||
| */ | ||
| interface StructType extends ref.Type { | ||
| /** Pass it an existing Buffer instance to use that as the backing buffer. */ | ||
| new (arg: Buffer, data?: {}): any; | ||
| new (data?: {}): any; | ||
| new(arg: Buffer, data?: {}): any; | ||
| new(data?: {}): any; | ||
| /** Pass it an existing Buffer instance to use that as the backing buffer. */ | ||
@@ -55,8 +54,8 @@ (arg: Buffer, data?: {}): any; | ||
| declare var StructType: { | ||
| new (fields?: object, opt?: object): StructType; | ||
| new (fields?: any[]): StructType; | ||
| new(fields?: object, opt?: object): StructType; | ||
| new(fields?: any[]): StructType; | ||
| (fields?: object, opt?: object): StructType; | ||
| (fields?: any[]): StructType; | ||
| } | ||
| }; | ||
| export = StructType; |
| { | ||
| "name": "@types/ref-struct", | ||
| "version": "0.0.30", | ||
| "version": "0.0.31", | ||
| "description": "TypeScript definitions for ref-struct", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ref-struct", | ||
| }, | ||
| "typesPublisherContentHash": "dc304dea66acf539a04aefa51bbe436472cd70bc8a5669264c2315f9b27144ec", | ||
| "typeScriptVersion": "4.3" | ||
| "typesPublisherContentHash": "30e362fce8d3f616b4996ff280f7c1be21b68e5c4cde8cff7674a0c58256c90e", | ||
| "typeScriptVersion": "4.5" | ||
| } |
@@ -17,3 +17,3 @@ # Installation | ||
| import ref = require('ref'); | ||
| import ref = require("ref"); | ||
@@ -27,8 +27,7 @@ /** | ||
| * struct with the data. | ||
| * | ||
| */ | ||
| interface StructType extends ref.Type { | ||
| /** Pass it an existing Buffer instance to use that as the backing buffer. */ | ||
| new (arg: Buffer, data?: {}): any; | ||
| new (data?: {}): any; | ||
| new(arg: Buffer, data?: {}): any; | ||
| new(data?: {}): any; | ||
| /** Pass it an existing Buffer instance to use that as the backing buffer. */ | ||
@@ -65,7 +64,7 @@ (arg: Buffer, data?: {}): any; | ||
| declare var StructType: { | ||
| new (fields?: object, opt?: object): StructType; | ||
| new (fields?: any[]): StructType; | ||
| new(fields?: object, opt?: object): StructType; | ||
| new(fields?: any[]): StructType; | ||
| (fields?: object, opt?: object): StructType; | ||
| (fields?: any[]): StructType; | ||
| } | ||
| }; | ||
@@ -77,3 +76,3 @@ export = StructType; | ||
| ### Additional Details | ||
| * Last updated: Sat, 29 Apr 2023 04:03:42 GMT | ||
| * Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
| * Dependencies: [@types/ref](https://npmjs.com/package/@types/ref) | ||
@@ -80,0 +79,0 @@ * Global values: none |
6773
-0.18%50
-1.96%79
-1.25%