Skip to content

chore: remove non used type definitions#10738

Merged
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:chore/remove-non-used-type-definitions
Oct 31, 2022
Merged

chore: remove non used type definitions#10738
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:chore/remove-non-used-type-definitions

Conversation

@sapphi-red
Copy link
Member

Description

Removed non used type definitions from shims.d.ts.

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@sapphi-red sapphi-red added the p1-chore Doesn't change code behavior (priority) label Oct 31, 2022
Comment on lines -61 to -77
declare module '@rollup/plugin-dynamic-import-vars' {
import type { Plugin } from 'rollup'
import type { BaseNode } from 'estree'

interface Options {
include?: string | RegExp | (string | RegExp)[]
exclude?: string | RegExp | (string | RegExp)[]
warnOnError?: boolean
}

const p: (o?: Options) => Plugin
export default p
export function dynamicImportToGlob(
ast: BaseNode,
source: string
): null | string
}
Copy link
Member Author

@sapphi-red sapphi-red Oct 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this existed. But it seems this isn't necessary.

@patak-cat
Copy link
Member

/ecosystem-ci run

@vite-ecosystem-ci
Copy link

vite-ecosystem-ci bot commented Oct 31, 2022

📝 Ran ecosystem CI: Open

suite result
astro ✅ success
histoire ❌ failure
iles ✅ success
ladle ✅ success
laravel ✅ success
marko ✅ success
nuxt-framework ✅ success
rakkas ✅ success
svelte ❌ failure
vite-plugin-ssr ✅ success
vite-setup-catalogue ✅ success
vitepress ✅ success
vitest ✅ success
windicss ✅ success

@patak-cat
Copy link
Member

/ecosystem-ci run histoire

@vite-ecosystem-ci
Copy link

vite-ecosystem-ci bot commented Oct 31, 2022

📝 Ran ecosystem CI: Open

suite result
histoire ✅ success

@patak-cat patak-cat merged commit ee8c7a6 into vitejs:main Oct 31, 2022
@sapphi-red sapphi-red deleted the chore/remove-non-used-type-definitions branch October 31, 2022 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p1-chore Doesn't change code behavior (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants