Skip to content

Commit

Permalink
add webp support for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
dugagjin committed Dec 6, 2018
1 parent af0a854 commit af5dd9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/react-scripts/lib/react-app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ declare module '*.svg' {
export default src;
}

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

declare module '*.module.css' {
const classes: { [key: string]: string };
export default classes;
Expand Down

0 comments on commit af5dd9b

Please sign in to comment.