Skip to content

Commit

Permalink
fix: add txt file format typings
Browse files Browse the repository at this point in the history
  • Loading branch information
boehs authored Jan 16, 2022
1 parent 1780700 commit efc9b77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vite/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ declare module '*.pdf' {
const src: string
export default src
}
declare module '*.txt' {
const src: string
export default src
}

// web worker
declare module '*?worker' {
Expand Down

0 comments on commit efc9b77

Please sign in to comment.