Skip to content

Commit

Permalink
refactor: make var/module optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Dec 5, 2020
1 parent b55bec3 commit bc9f234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/interfaces/slickNamespace.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface SlickNamespace {
DataView: new (options?: DataViewOption) => SlickDataView;

/** Slick AJAX Remote Data store implementation. */
RemoteModel: new () => SlickRemoteModel;
RemoteModel?: new () => SlickRemoteModel;

/**
* Provides item metadata for group (Slick.Group) and totals (Slick.Totals) rows produced by the DataView.
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/services/translater.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { PubSubService } from './pubSub.service';
export type TranslateServiceEventName = 'onLanguageChanged';

export abstract class TranslaterService {
eventName: TranslateServiceEventName;
eventName?: TranslateServiceEventName;

/**
* Add an optional Pub/Sub Messaging Service,
Expand Down

0 comments on commit bc9f234

Please sign in to comment.