@types/datadog-winston
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -12,7 +12,7 @@ // Type definitions for datadog-winston 1.0 | ||
apiKey: string; | ||
hostname?: string; | ||
service?: string; | ||
ddsource?: string; | ||
ddtags?: string; | ||
intakeRegion?: string; | ||
hostname?: string | undefined; | ||
service?: string | undefined; | ||
ddsource?: string | undefined; | ||
ddtags?: string | undefined; | ||
intakeRegion?: string | undefined; | ||
} | ||
@@ -19,0 +19,0 @@ } |
{ | ||
"name": "@types/datadog-winston", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "TypeScript definitions for datadog-winston", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/datadog-winston", | ||
"license": "MIT", | ||
@@ -25,4 +26,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "f1954037c700f30b0066785ea4b6befc75b92d829a5d59b73eb9f9d2f83a55af", | ||
"typeScriptVersion": "3.3" | ||
"typesPublisherContentHash": "60fb597e6cb4bdeaf0a008caf8d4e51f287ec75c45acc6f199dd253b390cc18e", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,35 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/datadog-winston. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/datadog-winston/index.d.ts) | ||
````ts | ||
// Type definitions for datadog-winston 1.0 | ||
// Project: https://github.com/itsfadnis/datadog-winston | ||
// Definitions by: Matt Hintzke <https://github.com/mhintzke> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 3.0 | ||
import TransportStream = require("winston-transport"); | ||
declare namespace DatadogWinston { | ||
interface DatadogTransportOptions extends TransportStream.TransportStreamOptions { | ||
apiKey: string; | ||
hostname?: string | undefined; | ||
service?: string | undefined; | ||
ddsource?: string | undefined; | ||
ddtags?: string | undefined; | ||
intakeRegion?: string | undefined; | ||
} | ||
} | ||
declare class DatadogWinston extends TransportStream { | ||
constructor(options: DatadogWinston.DatadogTransportOptions); | ||
log?(info: any, next: () => void): void; | ||
} | ||
export = DatadogWinston; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 12 Jan 2021 01:00:01 GMT | ||
* Last updated: Thu, 08 Jul 2021 09:08:32 GMT | ||
* Dependencies: [@types/winston-transport](https://npmjs.com/package/@types/winston-transport) | ||
@@ -14,0 +44,0 @@ * Global values: none |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4478
0
47