Skip to content

Commit 9ad3f10

Browse files
author
Sergei Koshel
committed
fix: added missing import of the Cheerio type (fix #1526)
1 parent 66c5038 commit 9ad3f10

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"test:unit:karma:only": "cross-env TARGET=browser karma start test/setup/karma.conf.js --single-run",
3030
"test:unit:node": "yarn build:test && yarn test:unit:node:only",
3131
"test:unit:node:only": "cross-env TEST_ENV=node mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs/render.spec.js test/specs/renderToString.spec.js --require test/setup/mocha.setup.js",
32-
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
32+
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types --allowSyntheticDefaultImports"
3333
},
3434
"dependencies": {
3535
"babel-core": "^6.26.0",

packages/server-test-utils/types/index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions, Component } from 'vue'
22
import { DefaultProps, PropsDefinition } from 'vue/types/options'
3+
import Cheerio from 'cheerio'
34

45
/**
56
* Utility type to declare an extended Vue constructor

0 commit comments

Comments
 (0)