Skip to content

Commit d51fe12

Browse files
authored
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

+1
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

+6
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)