refactor(schematics): strongly type cypress pluginsFile params (#1127)
This commit is contained in:
parent
a4c9b28056
commit
598cedb89f
@ -11,7 +11,7 @@
|
|||||||
// This function is called when a project is opened or re-opened (e.g. due to
|
// This function is called when a project is opened or re-opened (e.g. due to
|
||||||
// the project's config changing)
|
// the project's config changing)
|
||||||
|
|
||||||
module.exports = (on: any, config: any) => {
|
module.exports = (on: Cypress.Actions, config: Cypress.ConfigOptions) => {
|
||||||
// `on` is used to hook into various events Cypress emits
|
// `on` is used to hook into various events Cypress emits
|
||||||
// `config` is the resolved Cypress config
|
// `config` is the resolved Cypress config
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user