From 4f735463f46a1bf9ef3ebf9bcff36809bec92458 Mon Sep 17 00:00:00 2001 From: Ben Ansell Date: Wed, 2 Aug 2017 20:56:32 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20minor=20typo=E2=80=99s=20in=20compilers?= =?UTF-8?q?=20and=20preprocessors=20(#18564)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/wallabyjs/index.d.ts | 6 +++--- types/wallabyjs/wallabyjs-tests.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/types/wallabyjs/index.d.ts b/types/wallabyjs/index.d.ts index 6c4d332de0..da966291b5 100644 --- a/types/wallabyjs/index.d.ts +++ b/types/wallabyjs/index.d.ts @@ -15,7 +15,7 @@ declare module 'wallabyjs' { * @property {string[] | IWallabyFilePattern[]} files - Specifies an array of source files or file name patterns to copy * to the local cache. * @property {Function=} postprocessor - Function that runs for every batch of file changes after all compilers and preprocessors. - * @property {Function=} preprocessor - Function that runs for every batch of file changes after all compilers. + * @property {Function=} preprocessors - Function that runs for every batch of file changes after all compilers. * @property {string=} testFramework - Specifies the name and version of the testing framework you are using for your tests. * @property {string[] | IWallabyFilePattern[]} tests - Specifies an array of test files or test file name patterns to copy * to the local cache. @@ -24,12 +24,12 @@ declare module 'wallabyjs' { * @see {@link https://wallabyjs.com/docs/config/overview.html} for details. */ export interface IWallabyConfig { - comilers?: IWallabyCompilers; + compilers?: IWallabyCompilers; debug?: boolean; env?: IWallabyEnvironment; files: string[] | IWallabyFilePattern[]; postprocessor?: IWallabyProcessor; - preprocessor?: IWallabyProcessor; + preprocessors?: IWallabyProcessor; testFramework?: string; tests: string[] | IWallabyFilePattern[]; workers?: IWallabyWorkers; diff --git a/types/wallabyjs/wallabyjs-tests.ts b/types/wallabyjs/wallabyjs-tests.ts index 5e6c90e0a4..141e55d708 100644 --- a/types/wallabyjs/wallabyjs-tests.ts +++ b/types/wallabyjs/wallabyjs-tests.ts @@ -21,7 +21,7 @@ export class WallabyConfig implements wallabyjs.IWallabyConfig { '**/*.ts': file => file.content + '\n// this is TypeScript' }; - public postprocessors: wallabyjs.IWallabyProcessor = { + public postprocessor: wallabyjs.IWallabyProcessor = { '**/*.js': file => file.content + '\n// this is JavaScript', '**/*.ts': file => file.content + '\n// this is TypeScript' };