2017-05-06 07:39:20 +03:00
|
|
|
const name = (description as DescriptionObject).name || (description as string);
|
2017-05-23 23:14:22 +03:00
|
|
|
this.isTabActionBar((e.target || e.srcElement) as HTMLElement);
|
2017-05-24 04:18:34 +03:00
|
|
|
(originalError ? wrappedError(errMsg, originalError) : Error(errMsg)) as InjectionError;
|
2017-05-24 04:36:14 +03:00
|
|
|
'current' in (props.pagination as Object)
|
|
|
|
start + (yearSelectTotal as number)
|
|
|
|
scrollTop > (visibilityHeight as number)
|
2018-01-13 08:31:51 +03:00
|
|
|
export default class Column<T> extends (RcTable.Column as React.ComponentClass<ColumnProps<T>,ColumnProps<T>,ColumnProps<T>,ColumnProps<T>>) {}
|
2017-11-08 00:59:15 +03:00
|
|
|
export abstract class MobxTypedForm extends (Form as { new (): any }) {}
|
2017-06-02 07:10:05 +03:00
|
|
|
({}) as {};
|
2017-06-03 01:10:02 +03:00
|
|
|
function*g() {
|
|
|
|
const test = (yield 'foo') as number;
|
|
|
|
}
|
|
|
|
async function g() {
|
|
|
|
const test = (await 'foo') as number;
|
|
|
|
}
|
2017-06-03 02:08:45 +03:00
|
|
|
({}) as X;
|
|
|
|
() => ({}) as X;
|
|
|
|
const state = JSON.stringify({
|
|
|
|
next: window.location.href,
|
|
|
|
nonce,
|
|
|
|
} as State);
|
2017-07-20 16:16:15 +03:00
|
|
|
|
|
|
|
(foo.bar as Baz) = [bar];
|
2018-03-21 17:38:10 +03:00
|
|
|
(foo.bar as any)++;
|
2017-10-18 12:03:58 +03:00
|
|
|
|
|
|
|
(bValue as boolean) ? 0 : -1;
|
|
|
|
<boolean>bValue ? 0 : -1;
|
|
|
|
|