Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Dec 11, 2018
1 parent 8489345 commit f50d85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/src/theme/theme2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class LyTheme2 {
* @param css style object or string
* @param priority style priority
*/
addSimpleStyle(id: string, css: ((t) => string) | string, priority?: number): string {
addSimpleStyle(id: string, css: StyleContainer | ((theme) => StyleContainer), priority?: number): string {
return this._createStyleContent2(css as any, id, priority, TypeStyle.OnlyOne, false) as string;
}
private _addDefaultStyles() {
Expand Down

0 comments on commit f50d85e

Please sign in to comment.