Skip to content

Commit a0e2998

Browse files
committed
improve typings
1 parent 8031e58 commit a0e2998

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/getOriginal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { BreakpointSource } from '../types';
22

3-
export const getOriginal = (source: BreakpointSource): string | undefined => {
3+
export const getOriginal = (source: BreakpointSource) => {
44
const srcSet = source.srcSets[source.srcSets.length - 1].srcSet;
55

66
return srcSet['3x'] || srcSet['2x'] || srcSet['1x'];

0 commit comments

Comments
 (0)