Skip to content

Commit

Permalink
Fixed tslint-errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Mar 14, 2019
1 parent 6e6e549 commit 57b1776
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 159 deletions.
156 changes: 0 additions & 156 deletions packages/app/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -48,7 +48,7 @@ import { RootState } from '../store';

import { call, ForkEffect, put, select, takeEvery } from 'redux-saga/effects';

export const normalizeSettingsData = async (settings: FrameworkSettings): FrameworkSettings => {
export const normalizeSettingsData = async (settings: FrameworkSettings): Promise<FrameworkSettings> => {
// trim keys that do not belong and generate a hash
const keys = Object.keys(frameworkDefault).sort();
const newState = keys.reduce((s, key) => ((s[key] = settings[key]), s), {}) as FrameworkSettings;
Expand Down
Expand Up @@ -63,6 +63,7 @@ export interface AppSettingsEditorProps {

export interface AppSettingsEditorState extends Partial<FrameworkSettings> {
dirty?: boolean;
pendingUpdate?: boolean;
}

function shallowEqual(x: any, y: any) {
Expand Down
2 changes: 1 addition & 1 deletion packages/app/main/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/sdk/ui-react/src/widget/checkbox/checkbox.tsx
Expand Up @@ -40,6 +40,7 @@ export interface CheckboxProps extends React.HTMLAttributes<HTMLInputElement> {
checkboxContainerClassName?: string;
checked?: boolean;
indeterminate?: boolean;
name?: string;
onChange?: (event: React.FormEvent<HTMLInputElement>) => void;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/ui-react/src/widget/textField/textField.tsx
Expand Up @@ -42,7 +42,7 @@ export interface TextFieldProps extends InputHTMLAttributes<HTMLInputElement> {
label?: string;
errorMessage?: string;
inputContainerClassName?: string;
inputRef: React.Ref<HTMLInputElement>;
inputRef?: React.Ref<HTMLInputElement>;
}

export class TextField extends Component<TextFieldProps, {}> {
Expand Down

0 comments on commit 57b1776

Please sign in to comment.