We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8031e58 commit a0e2998Copy full SHA for a0e2998
1 file changed
src/utils/getOriginal.ts
@@ -1,6 +1,6 @@
1
import { BreakpointSource } from '../types';
2
3
-export const getOriginal = (source: BreakpointSource): string | undefined => {
+export const getOriginal = (source: BreakpointSource) => {
4
const srcSet = source.srcSets[source.srcSets.length - 1].srcSet;
5
6
return srcSet['3x'] || srcSet['2x'] || srcSet['1x'];
0 commit comments