as.js 918 B

1234567891011121314151617181920212223242526272829
  1. const name = (description as DescriptionObject).name || (description as string);
  2. this.isTabActionBar((e.target || e.srcElement) as HTMLElement);
  3. (originalError ? wrappedError(errMsg, originalError) : Error(errMsg)) as InjectionError;
  4. 'current' in (props.pagination as Object)
  5. start + (yearSelectTotal as number)
  6. scrollTop > (visibilityHeight as number)
  7. export default class Column<T> extends (RcTable.Column as React.ComponentClass<ColumnProps<T>,ColumnProps<T>,ColumnProps<T>,ColumnProps<T>>) {}
  8. export abstract class MobxTypedForm extends (Form as { new (): any }) {}
  9. ({}) as {};
  10. function*g() {
  11. const test = (yield 'foo') as number;
  12. }
  13. async function g() {
  14. const test = (await 'foo') as number;
  15. }
  16. ({}) as X;
  17. () => ({}) as X;
  18. const state = JSON.stringify({
  19. next: window.location.href,
  20. nonce,
  21. } as State);
  22. (foo.bar as Baz) = [bar];
  23. (foo.bar as any)++;
  24. (bValue as boolean) ? 0 : -1;
  25. <boolean>bValue ? 0 : -1;