diff --git a/package.json b/package.json index a47afe21f..b04990476 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "test:unit:karma:only": "cross-env TARGET=browser karma start test/setup/karma.conf.js --single-run", "test:unit:node": "yarn build:test && yarn test:unit:node:only", "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", - "test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types" + "test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types --allowSyntheticDefaultImports" }, "dependencies": { "babel-core": "^6.26.0", diff --git a/packages/server-test-utils/types/index.d.ts b/packages/server-test-utils/types/index.d.ts index 7282ba9e2..45c535090 100644 --- a/packages/server-test-utils/types/index.d.ts +++ b/packages/server-test-utils/types/index.d.ts @@ -1,5 +1,6 @@ import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions, Component } from 'vue' import { DefaultProps, PropsDefinition } from 'vue/types/options' +import Cheerio from 'cheerio' /** * Utility type to declare an extended Vue constructor