UNPKG

@badeball/cypress-cucumber-preprocessor

Version:

[![Build status](https://github.com/badeball/cypress-cucumber-preprocessor/actions/workflows/build.yml/badge.svg)](https://github.com/badeball/cypress-cucumber-preprocessor/actions/workflows/build.yml) [![Npm package weekly downloads](https://badgen.net/n

15 lines (14 loc) 457 B
/** * Can be removed once Webpack v5 is supported by Cypress' preprocessor, because Webpack v5 ships * with these types, ref. https://github.com/webpack/webpack/pull/13164. */ interface ILoaderContext { async: () => (err: Error | null, result?: string) => void; resourcePath: string; query: any; } interface ILoaderDefinition { (this: ILoaderContext, data: string): void; } declare const loader: ILoaderDefinition; export default loader;