Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add return type to createStub #1544

Merged
merged 1 commit into from May 27, 2022

Commits on May 27, 2022

  1. chore: add return type to createStub

    Fixes the error:
    
    ```
    src/index.ts → dist/vue-test-utils.esm-bundler.mjs...
    [!] (plugin commonjs--resolver) Error: /home/runner/work/test-utils/test-utils/src/stubs.ts(77,14): semantic error TS2742: The inferred type of 'createStub' cannot be named without a reference to '@vue/compiler-dom/node_modules/@vue/shared'. This is likely not portable. A type annotation is necessary.
    ```
    
    that we see when upgrading the lockfile in vuejs#1543
    cexbrayat committed May 27, 2022
    Copy the full SHA
    22ea775 View commit details
    Browse the repository at this point in the history