diff --git a/lib/react-app.d.ts b/lib/react-app.d.ts index 289f975845c..ab06e7126f3 100644 --- a/lib/react-app.d.ts +++ b/lib/react-app.d.ts @@ -34,6 +34,11 @@ declare module '*.png' { export default src; } +declare module '*.webp' { + const src: string; + export default src; +} + declare module '*.svg' { import * as React from 'react';