Skip to content

Commit

Permalink
Revert "types: worker types" (#1295)
Browse files Browse the repository at this point in the history
This reverts commit 7cc4bb7.
  • Loading branch information
aleclarson committed Jan 2, 2021
1 parent b314771 commit 806ef96
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions packages/vite/types/fileTypes.d.ts
@@ -1,5 +1,3 @@
/// <reference lib="dom" />

// CSS modules
type CSSModuleClasses = { readonly [key: string]: string }

Expand Down Expand Up @@ -138,18 +136,3 @@ declare module '*.otf' {
const src: string
export default src
}

// web worker
declare module '*?worker' {
const workerConstructor: {
new (): Worker
}
export default workerConstructor
}

declare module '*?worker&inline' {
const workerConstructor: {
new (): Worker
}
export default workerConstructor
}

0 comments on commit 806ef96

Please sign in to comment.