Skip to content

Commit 404581e

Browse files
author
Ben Grynhaus
committed
Fixed failing build
1 parent 2896b73 commit 404581e

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

libs/fabric/src/components/hover-card/hover-card.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ import { ReactWrapperComponent, InputRendererOptions } from '@angular-react/core
22
import { EventEmitter, ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, Output } from '@angular/core';
33
import { IHoverCardProps, IExpandingCardProps } from 'office-ui-fabric-react/lib/components/HoverCard';
44
import { omit } from '../../utils/omit';
5-
import * as React from 'react';
6-
import { ReactNode } from '@angular-react/core/src/renderer/react-node';
7-
import * as ReactDOM from 'react-dom';
8-
import { injectTemplateRef } from '@angular/core/src/render3/instructions';
95

106
@Component({
117
selector: 'fab-hover-card',

libs/fabric/src/components/link/link.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { ReactWrapperComponent } from '@angular-react/core';
1+
import { ReactWrapperComponent, passProp } from '@angular-react/core';
22
import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild } from '@angular/core';
33
import { ILinkProps, Link } from 'office-ui-fabric-react/lib/components/Link';
4-
import { passProp } from '@angular-react/core/src/renderer/pass-prop-decorator';
54

65
@Component({
76
selector: 'fab-link',
@@ -42,7 +41,7 @@ import { passProp } from '@angular-react/core/src/renderer/pass-prop-decorator';
4241
host: { 'class': 'fab-link' }
4342
})
4443
export class FabLinkComponent extends ReactWrapperComponent<ILinkProps> {
45-
readonly LinkType = Link;
44+
readonly LinkType: any = Link;
4645

4746
@ViewChild('reactNode') protected reactNodeRef: ElementRef;
4847

libs/fabric/src/components/pickers/tag-picker/tag-picker.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ReactWrapperComponent, InputRendererOptions } from '@angular-react/core';
22
import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, OnInit } from '@angular/core';
33
import { ITagPickerProps, ITag } from 'office-ui-fabric-react/lib/components/Pickers/TagPicker/TagPicker';
4-
import { FabBasePickerComponent } from '@angular-react/fabric/src/components/pickers/base-picker';
4+
import { FabBasePickerComponent } from '../base-picker/base-picker.component';
55

66
@Component({
77
selector: 'fab-tag-picker',

libs/fabric/tsconfig-custom.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"emitDecoratorMetadata": true,
2222
"experimentalDecorators": true,
2323
"importHelpers": true,
24-
"lib": ["dom", "es2015"],
24+
"lib": ["dom", "es2017"],
2525
"paths": {
2626
"@angular-react/*": [
2727
"../../@angular-react/*"

0 commit comments

Comments
 (0)