Skip to content

Commit

Permalink
fix(theme): update interface for Style
Browse files Browse the repository at this point in the history
  • Loading branch information
alyleui committed Aug 13, 2018
1 parent 0542d4b commit 397653e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/src/theme/theme2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,12 @@ export class LyTheme2 {
}
}

export interface StyleContainer {
[key: string]: StyleContainer | string | number;
}

export interface Styles2 {
[key: string]: Styles2 | string;
[key: string]: StyleContainer;
}
export type StylesFn2<T> = (T) => Styles2;

Expand Down

0 comments on commit 397653e

Please sign in to comment.