Adding the base_url option to the Factory.Options interface of the connect-datadog type definition. (#36180)

This commit is contained in:
Lewis Vail
2019-06-16 03:07:30 -04:00
committed by Ron Buckton
parent ccb13aa66b
commit 409af9f93f
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ const middleware = connectDD({});
const middleware2 = connectDD({
stat: 'foo',
path: true,
base_url: true,
method: true,
protocol: true,
response_code: true,

View File

@@ -2,6 +2,7 @@
// Project: https://github.com/datadog/node-connect-datadog
// Definitions by: Moshe Good <https://github.com/moshegood>
// Michael Mifsud <https://github.com/xzyfer>
// Lewis Vail <https://github.com/lewisvail3>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
@@ -17,6 +18,7 @@ declare namespace Factory {
stat?: string;
tags?: string[];
path?: boolean;
base_url?: boolean;
method?: boolean;
protocol?: boolean;
response_code?: boolean;