mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-08 19:20:05 +00:00
Fix minor typo’s in compilers and preprocessors (#18564)
This commit is contained in:
committed by
Sheetal Nandi
parent
199b5fd9c3
commit
4f735463f4
6
types/wallabyjs/index.d.ts
vendored
6
types/wallabyjs/index.d.ts
vendored
@@ -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;
|
||||
|
||||
@@ -21,7 +21,7 @@ export class WallabyConfig implements wallabyjs.IWallabyConfig {
|
||||
'**/*.ts': file => file.content + '\n// this is TypeScript'
|
||||
};
|
||||
|
||||
public postprocessors: wallabyjs.IWallabyProcessor = <wallabyjs.IWallabyProcessor>{
|
||||
public postprocessor: wallabyjs.IWallabyProcessor = <wallabyjs.IWallabyProcessor>{
|
||||
'**/*.js': file => file.content + '\n// this is JavaScript',
|
||||
'**/*.ts': file => file.content + '\n// this is TypeScript'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user