Skip to content

Commit

Permalink
add TypeScript definition to task.js (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
quisido authored Aug 2, 2023
1 parent 824bc76 commit d51fe12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
},
"homepage": "https://github.com/cypress-io/code-coverage#readme",
"files": [
"*.d.ts",
"*.js",
"middleware"
],
Expand Down
6 changes: 6 additions & 0 deletions task.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/// <reference types="cypress" />

export default function registerCodeCoverageTasks(
on: Cypress.PluginEvents,
config: Cypress.PluginConfigOptions,
): void;

0 comments on commit d51fe12

Please sign in to comment.