From 42ecc087cbd3558258107fbce645441955416497 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Thu, 22 Feb 2018 00:30:35 -0800 Subject: Implement initial sra-report command line tool --- packages/sra-report/src/globals.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 packages/sra-report/src/globals.d.ts (limited to 'packages/sra-report/src/globals.d.ts') diff --git a/packages/sra-report/src/globals.d.ts b/packages/sra-report/src/globals.d.ts new file mode 100644 index 000000000..eb09d3fcf --- /dev/null +++ b/packages/sra-report/src/globals.d.ts @@ -0,0 +1,6 @@ +declare module 'newman'; + +declare module '*.json' { + const value: any; + export default value; +} -- cgit v1.2.3 From 2ff485d2e074d45c31924df1925fe24f6a2b6b5f Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Tue, 6 Mar 2018 16:25:51 -0800 Subject: Add relevant newman typings --- packages/sra-report/src/globals.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/sra-report/src/globals.d.ts') diff --git a/packages/sra-report/src/globals.d.ts b/packages/sra-report/src/globals.d.ts index eb09d3fcf..a35aa2036 100644 --- a/packages/sra-report/src/globals.d.ts +++ b/packages/sra-report/src/globals.d.ts @@ -1,4 +1,6 @@ -declare module 'newman'; +declare module 'newman' { + export function run(options: any, callback?: () => void): void; +} declare module '*.json' { const value: any; -- cgit v1.2.3 From f61b59fa89dbb957c388c9034721c34bcf8ae7df Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Wed, 7 Mar 2018 00:17:39 -0800 Subject: Disable completed docs linting for globals --- packages/sra-report/src/globals.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/sra-report/src/globals.d.ts') diff --git a/packages/sra-report/src/globals.d.ts b/packages/sra-report/src/globals.d.ts index a35aa2036..0d3beb446 100644 --- a/packages/sra-report/src/globals.d.ts +++ b/packages/sra-report/src/globals.d.ts @@ -1,4 +1,5 @@ declare module 'newman' { + // tslint:disable-next-line:completed-docs export function run(options: any, callback?: () => void): void; } -- cgit v1.2.3