Skip to content

Commit

Permalink
fix(theme): remove optional type for direction
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Dec 5, 2018
1 parent 0b14178 commit 248c061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/src/style-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class LyStyleUtils {
WebLandscape: string,
[key: string]: string
};
direction?: Dir;
direction: Dir;
pxToRem(value: number) {
const size = this.typography.fontSize / 14;
return `${value / this.typography.htmlFontSize * size}rem`;
Expand Down

0 comments on commit 248c061

Please sign in to comment.