Skip to content

Commit

Permalink
fix(plugin-docs): Fixed build failed caused by no .svg module declara…
Browse files Browse the repository at this point in the history
…tion (#332)
  • Loading branch information
Yuanlin Lin authored and sorrycc committed Jun 23, 2022
1 parent c276bcc commit 20bdacf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ declare module '*.png' {
const src: string
export default src
}

declare module '*.svg' {
const src: string
export default src
}

0 comments on commit 20bdacf

Please sign in to comment.