Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d51fe12

Browse files
authoredAug 2, 2023
add TypeScript definition to task.js (#544)
1 parent 824bc76 commit d51fe12

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
},
3939
"homepage": "https://github.com/cypress-io/code-coverage#readme",
4040
"files": [
41+
"*.d.ts",
4142
"*.js",
4243
"middleware"
4344
],

‎task.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/// <reference types="cypress" />
2+
3+
export default function registerCodeCoverageTasks(
4+
on: Cypress.PluginEvents,
5+
config: Cypress.PluginConfigOptions,
6+
): void;

0 commit comments

Comments
 (0)
Please sign in to comment.