2017-05-06 07:39:20 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`as.js 1`] = `
|
|
|
|
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)
|
2017-05-24 04:39:01 +03:00
|
|
|
export default class Column<T> extends (RcTable.Column as React.ComponentClass<ColumnProps<T>>) {}
|
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-05-06 07:39:20 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2017-05-24 04:36:14 +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);
|
2017-05-26 02:26:56 +03:00
|
|
|
export default class Column<T> extends (RcTable.Column as React.ComponentClass<
|
|
|
|
ColumnProps<T>
|
|
|
|
>) {}
|
2017-06-03 02:08:45 +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-05-06 07:39:20 +03:00
|
|
|
|
|
|
|
`;
|