-
Notifications
You must be signed in to change notification settings - Fork 22
Add types #67
Comments
This is very low priority for us, but we would be open to a PR. |
@OliverJAsh are you using typescript in plugin files? if so how? Regardless, VSCode uses typescript types for intellisense for javascript too. I'll take a crack at this today. |
Yes, via the |
The main |
Does it include types for module |
E.g. if I do this in my plugins file: const webpack = require('@cypress/webpack-preprocessor'); I want |
🎉 This issue has been resolved in version 5.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Unfortunately this is not quite fixed: https://github.com/cypress-io/cypress-webpack-preprocessor/pull/72/files#r404905879 Can we re-open? @chrisbreiding |
Properly fixed in |
How do I import the |
const webpack = require('@cypress/webpack-preprocessor');
// Namespace '_default' has no exported member 'Options'
/** @type {webpack.Options} */
const options = {
webpackOptions: {}
} |
Hey! Could we add these types to the repository so TS users don't have to define them manually? 😄
The text was updated successfully, but these errors were encountered: