Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.

Commit f3bb6fb

Browse files
dugagjinTimer
authored andcommitted
add webp support for typescript (facebook#5978)
* add webp support for typescript * moved webp declaration below png
1 parent 09eda5d commit f3bb6fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: lib/react-app.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ declare module '*.png' {
3434
export default src;
3535
}
3636

37+
declare module '*.webp' {
38+
const src: string;
39+
export default src;
40+
}
41+
3742
declare module '*.svg' {
3843
import * as React from 'react';
3944

0 commit comments

Comments
 (0)