Documentation
    Preparing search index...

    Type Alias MockThemeService

    MockThemeService: MockService<MockThemeState> & {
        setTheme(theme: MockThemeName | Theme): ThemeChangedMessage;
    }

    The theme mock service with its setTheme control.

    Type Declaration

    const theme = createMockThemeService();
    theme.setTheme('light'); // pushes theme.changed to every known window