From 953365d090d13dc5a7a08ba921cad134c0a5409d Mon Sep 17 00:00:00 2001 From: crisbeto Date: Sun, 24 Nov 2019 11:50:00 +0100 Subject: [PATCH] refactor(ivy): remove tsickle workaround in chainable instruction (#34019) Previously if a type was returning itself it would cause an infinite loop in tsickle. We worked around it with a type that alises to `any`. Now that the issue has been resolved in tsickle, we can clean up the workaround. PR Close #34019 --- packages/core/src/render3/i18n.ts | 4 +- .../src/render3/instructions/attribute.ts | 4 +- .../instructions/attribute_interpolation.ts | 21 +++-- .../src/render3/instructions/host_property.ts | 7 +- .../core/src/render3/instructions/listener.ts | 6 +- .../core/src/render3/instructions/property.ts | 4 +- .../instructions/property_interpolation.ts | 23 ++--- .../core/src/render3/instructions/shared.ts | 8 -- .../instructions/style_prop_interpolation.ts | 20 ++-- .../core/src/render3/instructions/styling.ts | 6 +- .../instructions/text_interpolation.ts | 23 ++--- tools/public_api_guard/core/core.d.ts | 94 +++++++++---------- 12 files changed, 108 insertions(+), 112 deletions(-) diff --git a/packages/core/src/render3/i18n.ts b/packages/core/src/render3/i18n.ts index 443041b5a7..e4a6d313d8 100644 --- a/packages/core/src/render3/i18n.ts +++ b/packages/core/src/render3/i18n.ts @@ -18,7 +18,7 @@ import {bindingUpdated} from './bindings'; import {attachPatchData} from './context_discovery'; import {setDelayProjection} from './instructions/all'; import {attachI18nOpCodesDebug} from './instructions/lview_debug'; -import {TsickleIssue1009, allocExpando, elementAttributeInternal, elementPropertyInternal, getOrCreateTNode, setInputsForProperty, setNgReflectProperties, textBindingInternal} from './instructions/shared'; +import {allocExpando, elementAttributeInternal, elementPropertyInternal, getOrCreateTNode, setInputsForProperty, setNgReflectProperties, textBindingInternal} from './instructions/shared'; import {LContainer, NATIVE} from './interfaces/container'; import {getDocument} from './interfaces/document'; import {COMMENT_MARKER, ELEMENT_MARKER, I18nMutateOpCode, I18nMutateOpCodes, I18nUpdateOpCode, I18nUpdateOpCodes, IcuType, TI18n, TIcu} from './interfaces/i18n'; @@ -1050,7 +1050,7 @@ let shiftsCounter = 0; * * @codeGenApi */ -export function ɵɵi18nExp(value: T): TsickleIssue1009 { +export function ɵɵi18nExp(value: T): typeof ɵɵi18nExp { const lView = getLView(); if (bindingUpdated(lView, nextBindingIndex(), value)) { changeMask = changeMask | (1 << shiftsCounter); diff --git a/packages/core/src/render3/instructions/attribute.ts b/packages/core/src/render3/instructions/attribute.ts index e938ad201d..a16876f390 100644 --- a/packages/core/src/render3/instructions/attribute.ts +++ b/packages/core/src/render3/instructions/attribute.ts @@ -9,7 +9,7 @@ import {bindingUpdated} from '../bindings'; import {SanitizerFn} from '../interfaces/sanitization'; import {getLView, getSelectedIndex, nextBindingIndex} from '../state'; -import {TsickleIssue1009, elementAttributeInternal} from './shared'; +import {elementAttributeInternal} from './shared'; @@ -28,7 +28,7 @@ import {TsickleIssue1009, elementAttributeInternal} from './shared'; */ export function ɵɵattribute( name: string, value: any, sanitizer?: SanitizerFn | null, - namespace?: string): TsickleIssue1009 { + namespace?: string): typeof ɵɵattribute { const lView = getLView(); if (bindingUpdated(lView, nextBindingIndex(), value)) { elementAttributeInternal(getSelectedIndex(), name, value, lView, sanitizer, namespace); diff --git a/packages/core/src/render3/instructions/attribute_interpolation.ts b/packages/core/src/render3/instructions/attribute_interpolation.ts index 992f8f5c17..ebf1f68f09 100644 --- a/packages/core/src/render3/instructions/attribute_interpolation.ts +++ b/packages/core/src/render3/instructions/attribute_interpolation.ts @@ -10,7 +10,7 @@ import {getLView, getSelectedIndex} from '../state'; import {NO_CHANGE} from '../tokens'; import {interpolation1, interpolation2, interpolation3, interpolation4, interpolation5, interpolation6, interpolation7, interpolation8, interpolationV} from './interpolation'; -import {TsickleIssue1009, elementAttributeInternal} from './shared'; +import {elementAttributeInternal} from './shared'; @@ -40,7 +40,7 @@ import {TsickleIssue1009, elementAttributeInternal} from './shared'; */ export function ɵɵattributeInterpolate1( attrName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn, - namespace?: string): TsickleIssue1009 { + namespace?: string): typeof ɵɵattributeInterpolate1 { const lView = getLView(); const interpolatedValue = interpolation1(lView, prefix, v0, suffix); if (interpolatedValue !== NO_CHANGE) { @@ -78,7 +78,7 @@ export function ɵɵattributeInterpolate1( */ export function ɵɵattributeInterpolate2( attrName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, - sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { + sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate2 { const lView = getLView(); const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix); if (interpolatedValue !== NO_CHANGE) { @@ -119,7 +119,7 @@ export function ɵɵattributeInterpolate2( */ export function ɵɵattributeInterpolate3( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { + suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate3 { const lView = getLView(); const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix); if (interpolatedValue !== NO_CHANGE) { @@ -162,7 +162,8 @@ export function ɵɵattributeInterpolate3( */ export function ɵɵattributeInterpolate4( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, - v3: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { + v3: any, suffix: string, sanitizer?: SanitizerFn, + namespace?: string): typeof ɵɵattributeInterpolate4 { const lView = getLView(); const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix); if (interpolatedValue !== NO_CHANGE) { @@ -208,7 +209,7 @@ export function ɵɵattributeInterpolate4( export function ɵɵattributeInterpolate5( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn, - namespace?: string): TsickleIssue1009 { + namespace?: string): typeof ɵɵattributeInterpolate5 { const lView = getLView(); const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix); @@ -257,7 +258,7 @@ export function ɵɵattributeInterpolate5( export function ɵɵattributeInterpolate6( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn, - namespace?: string): TsickleIssue1009 { + namespace?: string): typeof ɵɵattributeInterpolate6 { const lView = getLView(); const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix); @@ -308,7 +309,7 @@ export function ɵɵattributeInterpolate6( export function ɵɵattributeInterpolate7( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, - sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { + sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate7 { const index = getSelectedIndex(); const lView = getLView(); const interpolatedValue = @@ -361,7 +362,7 @@ export function ɵɵattributeInterpolate7( export function ɵɵattributeInterpolate8( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, - suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { + suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate8 { const lView = getLView(); const interpolatedValue = interpolation8( lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix); @@ -400,7 +401,7 @@ export function ɵɵattributeInterpolate8( */ export function ɵɵattributeInterpolateV( attrName: string, values: any[], sanitizer?: SanitizerFn, - namespace?: string): TsickleIssue1009 { + namespace?: string): typeof ɵɵattributeInterpolateV { const lView = getLView(); const interpolated = interpolationV(lView, values); if (interpolated !== NO_CHANGE) { diff --git a/packages/core/src/render3/instructions/host_property.ts b/packages/core/src/render3/instructions/host_property.ts index 5d378ddfae..460f45caec 100644 --- a/packages/core/src/render3/instructions/host_property.ts +++ b/packages/core/src/render3/instructions/host_property.ts @@ -11,7 +11,7 @@ import {TVIEW} from '../interfaces/view'; import {getLView, getSelectedIndex, nextBindingIndex} from '../state'; import {NO_CHANGE} from '../tokens'; -import {TsickleIssue1009, elementPropertyInternal, loadComponentRenderer, storePropertyBindingMetadata} from './shared'; +import {elementPropertyInternal, loadComponentRenderer, storePropertyBindingMetadata} from './shared'; /** * Update a property on a host element. Only applies to native node properties, not inputs. @@ -28,7 +28,7 @@ import {TsickleIssue1009, elementPropertyInternal, loadComponentRenderer, storeP * @codeGenApi */ export function ɵɵhostProperty( - propName: string, value: T, sanitizer?: SanitizerFn | null): TsickleIssue1009 { + propName: string, value: T, sanitizer?: SanitizerFn | null): typeof ɵɵhostProperty { const lView = getLView(); const bindingIndex = nextBindingIndex(); if (bindingUpdated(lView, bindingIndex, value)) { @@ -62,7 +62,8 @@ export function ɵɵhostProperty( * @codeGenApi */ export function ɵɵupdateSyntheticHostBinding( - propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null): TsickleIssue1009 { + propName: string, value: T | NO_CHANGE, + sanitizer?: SanitizerFn | null): typeof ɵɵupdateSyntheticHostBinding { const lView = getLView(); const bindingIndex = nextBindingIndex(); if (bindingUpdated(lView, bindingIndex, value)) { diff --git a/packages/core/src/render3/instructions/listener.ts b/packages/core/src/render3/instructions/listener.ts index 3425536647..37057efc1f 100644 --- a/packages/core/src/render3/instructions/listener.ts +++ b/packages/core/src/render3/instructions/listener.ts @@ -18,7 +18,7 @@ import {assertNodeOfPossibleTypes} from '../node_assert'; import {getLView, getPreviousOrParentTNode} from '../state'; import {getComponentLViewByIndex, getNativeByTNode, unwrapRNode} from '../util/view_utils'; -import {TsickleIssue1009, getCleanup, handleError, loadComponentRenderer, markViewDirty} from './shared'; +import {getCleanup, handleError, loadComponentRenderer, markViewDirty} from './shared'; @@ -38,7 +38,7 @@ import {TsickleIssue1009, getCleanup, handleError, loadComponentRenderer, markVi */ export function ɵɵlistener( eventName: string, listenerFn: (e?: any) => any, useCapture = false, - eventTargetResolver?: GlobalTargetResolver): TsickleIssue1009 { + eventTargetResolver?: GlobalTargetResolver): typeof ɵɵlistener { const lView = getLView(); const tNode = getPreviousOrParentTNode(); listenerInternal( @@ -69,7 +69,7 @@ export function ɵɵlistener( */ export function ɵɵcomponentHostSyntheticListener( eventName: string, listenerFn: (e?: any) => any, useCapture = false, - eventTargetResolver?: GlobalTargetResolver): TsickleIssue1009 { + eventTargetResolver?: GlobalTargetResolver): typeof ɵɵcomponentHostSyntheticListener { const lView = getLView(); const tNode = getPreviousOrParentTNode(); const renderer = loadComponentRenderer(tNode, lView); diff --git a/packages/core/src/render3/instructions/property.ts b/packages/core/src/render3/instructions/property.ts index 81ce8fb988..524fb644fa 100644 --- a/packages/core/src/render3/instructions/property.ts +++ b/packages/core/src/render3/instructions/property.ts @@ -10,7 +10,7 @@ import {SanitizerFn} from '../interfaces/sanitization'; import {TVIEW} from '../interfaces/view'; import {getLView, getSelectedIndex, nextBindingIndex} from '../state'; -import {TsickleIssue1009, elementPropertyInternal, storePropertyBindingMetadata} from './shared'; +import {elementPropertyInternal, storePropertyBindingMetadata} from './shared'; /** @@ -32,7 +32,7 @@ import {TsickleIssue1009, elementPropertyInternal, storePropertyBindingMetadata} * @codeGenApi */ export function ɵɵproperty( - propName: string, value: T, sanitizer?: SanitizerFn | null): TsickleIssue1009 { + propName: string, value: T, sanitizer?: SanitizerFn | null): typeof ɵɵproperty { const lView = getLView(); const bindingIndex = nextBindingIndex(); if (bindingUpdated(lView, bindingIndex, value)) { diff --git a/packages/core/src/render3/instructions/property_interpolation.ts b/packages/core/src/render3/instructions/property_interpolation.ts index 672ffff56d..26949965ab 100644 --- a/packages/core/src/render3/instructions/property_interpolation.ts +++ b/packages/core/src/render3/instructions/property_interpolation.ts @@ -11,7 +11,7 @@ import {getBindingIndex, getLView, getSelectedIndex} from '../state'; import {NO_CHANGE} from '../tokens'; import {interpolation1, interpolation2, interpolation3, interpolation4, interpolation5, interpolation6, interpolation7, interpolation8, interpolationV} from './interpolation'; -import {TsickleIssue1009, elementPropertyInternal, storePropertyBindingMetadata} from './shared'; +import {elementPropertyInternal, storePropertyBindingMetadata} from './shared'; @@ -45,7 +45,7 @@ import {TsickleIssue1009, elementPropertyInternal, storePropertyBindingMetadata} * @codeGenApi */ export function ɵɵpropertyInterpolate( - propName: string, v0: any, sanitizer?: SanitizerFn): TsickleIssue1009 { + propName: string, v0: any, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate { ɵɵpropertyInterpolate1(propName, '', v0, '', sanitizer); return ɵɵpropertyInterpolate; } @@ -81,7 +81,7 @@ export function ɵɵpropertyInterpolate( */ export function ɵɵpropertyInterpolate1( propName: string, prefix: string, v0: any, suffix: string, - sanitizer?: SanitizerFn): TsickleIssue1009 { + sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate1 { const lView = getLView(); const interpolatedValue = interpolation1(lView, prefix, v0, suffix); if (interpolatedValue !== NO_CHANGE) { @@ -125,7 +125,7 @@ export function ɵɵpropertyInterpolate1( */ export function ɵɵpropertyInterpolate2( propName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, - sanitizer?: SanitizerFn): TsickleIssue1009 { + sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate2 { const lView = getLView(); const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix); if (interpolatedValue !== NO_CHANGE) { @@ -173,7 +173,7 @@ export function ɵɵpropertyInterpolate2( */ export function ɵɵpropertyInterpolate3( propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009 { + suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate3 { const lView = getLView(); const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix); if (interpolatedValue !== NO_CHANGE) { @@ -223,7 +223,7 @@ export function ɵɵpropertyInterpolate3( */ export function ɵɵpropertyInterpolate4( propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, - v3: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009 { + v3: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate4 { const lView = getLView(); const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix); if (interpolatedValue !== NO_CHANGE) { @@ -275,7 +275,8 @@ export function ɵɵpropertyInterpolate4( */ export function ɵɵpropertyInterpolate5( propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, - v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009 { + v3: any, i3: string, v4: any, suffix: string, + sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate5 { const lView = getLView(); const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix); @@ -331,7 +332,7 @@ export function ɵɵpropertyInterpolate5( export function ɵɵpropertyInterpolate6( propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, - sanitizer?: SanitizerFn): TsickleIssue1009 { + sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate6 { const lView = getLView(); const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix); @@ -389,7 +390,7 @@ export function ɵɵpropertyInterpolate6( export function ɵɵpropertyInterpolate7( propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, - sanitizer?: SanitizerFn): TsickleIssue1009 { + sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate7 { const lView = getLView(); const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix); @@ -449,7 +450,7 @@ export function ɵɵpropertyInterpolate7( export function ɵɵpropertyInterpolate8( propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, - suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009 { + suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate8 { const lView = getLView(); const interpolatedValue = interpolation8( lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix); @@ -494,7 +495,7 @@ export function ɵɵpropertyInterpolate8( * @codeGenApi */ export function ɵɵpropertyInterpolateV( - propName: string, values: any[], sanitizer?: SanitizerFn): TsickleIssue1009 { + propName: string, values: any[], sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolateV { const lView = getLView(); const interpolatedValue = interpolationV(lView, values); if (interpolatedValue !== NO_CHANGE) { diff --git a/packages/core/src/render3/instructions/shared.ts b/packages/core/src/render3/instructions/shared.ts index f11ae30d21..bc2427fd8a 100644 --- a/packages/core/src/render3/instructions/shared.ts +++ b/packages/core/src/render3/instructions/shared.ts @@ -763,14 +763,6 @@ export function storeCleanupFn(view: LView, cleanupFn: Function): void { } } -// TODO: Remove this when the issue is resolved. -/** - * Tsickle has a bug where it creates an infinite loop for a function returning itself. - * This is a temporary type that will be removed when the issue is resolved. - * https://github.com/angular/tsickle/issues/1009) - */ -export type TsickleIssue1009 = any; - /** * Constructs a TNode object from the arguments. * diff --git a/packages/core/src/render3/instructions/style_prop_interpolation.ts b/packages/core/src/render3/instructions/style_prop_interpolation.ts index 7f03b9081e..0bdadb76e1 100644 --- a/packages/core/src/render3/instructions/style_prop_interpolation.ts +++ b/packages/core/src/render3/instructions/style_prop_interpolation.ts @@ -8,7 +8,6 @@ import {getLView, getSelectedIndex} from '../state'; import {interpolation1, interpolation2, interpolation3, interpolation4, interpolation5, interpolation6, interpolation7, interpolation8, interpolationV} from './interpolation'; -import {TsickleIssue1009} from './shared'; import {stylePropInternal} from './styling'; @@ -41,7 +40,7 @@ import {stylePropInternal} from './styling'; */ export function ɵɵstylePropInterpolate1( prop: string, prefix: string, v0: any, suffix: string, - valueSuffix?: string | null): TsickleIssue1009 { + valueSuffix?: string | null): typeof ɵɵstylePropInterpolate1 { const lView = getLView(); const interpolatedValue = interpolation1(lView, prefix, v0, suffix); stylePropInternal(getSelectedIndex(), prop, interpolatedValue as string, valueSuffix); @@ -78,7 +77,7 @@ export function ɵɵstylePropInterpolate1( */ export function ɵɵstylePropInterpolate2( prop: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, - valueSuffix?: string | null): TsickleIssue1009 { + valueSuffix?: string | null): typeof ɵɵstylePropInterpolate2 { const lView = getLView(); const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix); stylePropInternal(getSelectedIndex(), prop, interpolatedValue as string, valueSuffix); @@ -117,7 +116,7 @@ export function ɵɵstylePropInterpolate2( */ export function ɵɵstylePropInterpolate3( prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, - valueSuffix?: string | null): TsickleIssue1009 { + valueSuffix?: string | null): typeof ɵɵstylePropInterpolate3 { const lView = getLView(); const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix); stylePropInternal(getSelectedIndex(), prop, interpolatedValue as string, valueSuffix); @@ -158,7 +157,7 @@ export function ɵɵstylePropInterpolate3( */ export function ɵɵstylePropInterpolate4( prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, - v3: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009 { + v3: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate4 { const lView = getLView(); const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix); stylePropInternal(getSelectedIndex(), prop, interpolatedValue as string, valueSuffix); @@ -201,7 +200,8 @@ export function ɵɵstylePropInterpolate4( */ export function ɵɵstylePropInterpolate5( prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, - v3: any, i3: string, v4: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009 { + v3: any, i3: string, v4: any, suffix: string, + valueSuffix?: string | null): typeof ɵɵstylePropInterpolate5 { const lView = getLView(); const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix); @@ -248,7 +248,7 @@ export function ɵɵstylePropInterpolate5( export function ɵɵstylePropInterpolate6( prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, - valueSuffix?: string | null): TsickleIssue1009 { + valueSuffix?: string | null): typeof ɵɵstylePropInterpolate6 { const lView = getLView(); const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix); @@ -298,7 +298,7 @@ export function ɵɵstylePropInterpolate6( export function ɵɵstylePropInterpolate7( prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, - valueSuffix?: string | null): TsickleIssue1009 { + valueSuffix?: string | null): typeof ɵɵstylePropInterpolate7 { const lView = getLView(); const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix); @@ -350,7 +350,7 @@ export function ɵɵstylePropInterpolate7( export function ɵɵstylePropInterpolate8( prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, - suffix: string, valueSuffix?: string | null): TsickleIssue1009 { + suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate8 { const lView = getLView(); const interpolatedValue = interpolation8( lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix); @@ -389,7 +389,7 @@ export function ɵɵstylePropInterpolate8( * @codeGenApi */ export function ɵɵstylePropInterpolateV( - prop: string, values: any[], valueSuffix?: string | null): TsickleIssue1009 { + prop: string, values: any[], valueSuffix?: string | null): typeof ɵɵstylePropInterpolateV { const lView = getLView(); const interpolatedValue = interpolationV(lView, values); stylePropInternal(getSelectedIndex(), prop, interpolatedValue as string, valueSuffix); diff --git a/packages/core/src/render3/instructions/styling.ts b/packages/core/src/render3/instructions/styling.ts index ef3c4b7320..4fb6b0bacf 100644 --- a/packages/core/src/render3/instructions/styling.ts +++ b/packages/core/src/render3/instructions/styling.ts @@ -8,7 +8,7 @@ import {SafeValue} from '../../sanitization/bypass'; import {StyleSanitizeFn} from '../../sanitization/style_sanitizer'; import {throwErrorIfNoChangesMode} from '../errors'; -import {TsickleIssue1009, setInputsForProperty} from '../instructions/shared'; +import {setInputsForProperty} from '../instructions/shared'; import {AttributeMarker, TAttributes, TNode, TNodeFlags, TNodeType} from '../interfaces/node'; import {RElement} from '../interfaces/renderer'; import {StylingMapArray, StylingMapArrayIndex, TStylingContext} from '../interfaces/styling'; @@ -78,7 +78,7 @@ export function ɵɵstyleSanitizer(sanitizer: StyleSanitizeFn | null): void { */ export function ɵɵstyleProp( prop: string, value: string | number | SafeValue | null, - suffix?: string | null): TsickleIssue1009 { + suffix?: string | null): typeof ɵɵstyleProp { stylePropInternal(getSelectedIndex(), prop, value, suffix); return ɵɵstyleProp; } @@ -135,7 +135,7 @@ export function stylePropInternal( * * @codeGenApi */ -export function ɵɵclassProp(className: string, value: boolean | null): TsickleIssue1009 { +export function ɵɵclassProp(className: string, value: boolean | null): typeof ɵɵclassProp { // if a value is interpolated then it may render a `NO_CHANGE` value. // in this case we do not need to do anything, but the binding index // still needs to be incremented because all styling binding values diff --git a/packages/core/src/render3/instructions/text_interpolation.ts b/packages/core/src/render3/instructions/text_interpolation.ts index a80b4f850b..801f1ae9b5 100644 --- a/packages/core/src/render3/instructions/text_interpolation.ts +++ b/packages/core/src/render3/instructions/text_interpolation.ts @@ -9,7 +9,7 @@ import {getLView, getSelectedIndex} from '../state'; import {NO_CHANGE} from '../tokens'; import {interpolation1, interpolation2, interpolation3, interpolation4, interpolation5, interpolation6, interpolation7, interpolation8, interpolationV} from './interpolation'; -import {TsickleIssue1009, textBindingInternal} from './shared'; +import {textBindingInternal} from './shared'; /** @@ -32,7 +32,7 @@ import {TsickleIssue1009, textBindingInternal} from './shared'; * @see textInterpolateV * @codeGenApi */ -export function ɵɵtextInterpolate(v0: any): TsickleIssue1009 { +export function ɵɵtextInterpolate(v0: any): typeof ɵɵtextInterpolate { ɵɵtextInterpolate1('', v0, ''); return ɵɵtextInterpolate; } @@ -57,7 +57,8 @@ export function ɵɵtextInterpolate(v0: any): TsickleIssue1009 { * @see textInterpolateV * @codeGenApi */ -export function ɵɵtextInterpolate1(prefix: string, v0: any, suffix: string): TsickleIssue1009 { +export function ɵɵtextInterpolate1( + prefix: string, v0: any, suffix: string): typeof ɵɵtextInterpolate1 { const lView = getLView(); const interpolated = interpolation1(lView, prefix, v0, suffix); if (interpolated !== NO_CHANGE) { @@ -86,7 +87,7 @@ export function ɵɵtextInterpolate1(prefix: string, v0: any, suffix: string): T * @codeGenApi */ export function ɵɵtextInterpolate2( - prefix: string, v0: any, i0: string, v1: any, suffix: string): TsickleIssue1009 { + prefix: string, v0: any, i0: string, v1: any, suffix: string): typeof ɵɵtextInterpolate2 { const lView = getLView(); const interpolated = interpolation2(lView, prefix, v0, i0, v1, suffix); if (interpolated !== NO_CHANGE) { @@ -117,7 +118,7 @@ export function ɵɵtextInterpolate2( */ export function ɵɵtextInterpolate3( prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - suffix: string): TsickleIssue1009 { + suffix: string): typeof ɵɵtextInterpolate3 { const lView = getLView(); const interpolated = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix); if (interpolated !== NO_CHANGE) { @@ -148,7 +149,7 @@ export function ɵɵtextInterpolate3( */ export function ɵɵtextInterpolate4( prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, - suffix: string): TsickleIssue1009 { + suffix: string): typeof ɵɵtextInterpolate4 { const lView = getLView(); const interpolated = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix); if (interpolated !== NO_CHANGE) { @@ -179,7 +180,7 @@ export function ɵɵtextInterpolate4( */ export function ɵɵtextInterpolate5( prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, - i3: string, v4: any, suffix: string): TsickleIssue1009 { + i3: string, v4: any, suffix: string): typeof ɵɵtextInterpolate5 { const lView = getLView(); const interpolated = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix); if (interpolated !== NO_CHANGE) { @@ -212,7 +213,7 @@ export function ɵɵtextInterpolate5( */ export function ɵɵtextInterpolate6( prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, - i3: string, v4: any, i4: string, v5: any, suffix: string): TsickleIssue1009 { + i3: string, v4: any, i4: string, v5: any, suffix: string): typeof ɵɵtextInterpolate6 { const lView = getLView(); const interpolated = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix); @@ -245,7 +246,7 @@ export function ɵɵtextInterpolate6( export function ɵɵtextInterpolate7( prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, - suffix: string): TsickleIssue1009 { + suffix: string): typeof ɵɵtextInterpolate7 { const lView = getLView(); const interpolated = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix); @@ -278,7 +279,7 @@ export function ɵɵtextInterpolate7( export function ɵɵtextInterpolate8( prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, - suffix: string): TsickleIssue1009 { + suffix: string): typeof ɵɵtextInterpolate8 { const lView = getLView(); const interpolated = interpolation8( lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix); @@ -312,7 +313,7 @@ export function ɵɵtextInterpolate8( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ɵɵtextInterpolateV(values: any[]): TsickleIssue1009 { +export function ɵɵtextInterpolateV(values: any[]): typeof ɵɵtextInterpolateV { const lView = getLView(); const interpolated = interpolationV(lView, values); if (interpolated !== NO_CHANGE) { diff --git a/tools/public_api_guard/core/core.d.ts b/tools/public_api_guard/core/core.d.ts index 354914c391..f5b9fd870b 100644 --- a/tools/public_api_guard/core/core.d.ts +++ b/tools/public_api_guard/core/core.d.ts @@ -682,25 +682,25 @@ export declare function ɵɵadvance(delta: number): void; export declare function ɵɵallocHostVars(count: number): void; -export declare function ɵɵattribute(name: string, value: any, sanitizer?: SanitizerFn | null, namespace?: string): TsickleIssue1009; +export declare function ɵɵattribute(name: string, value: any, sanitizer?: SanitizerFn | null, namespace?: string): typeof ɵɵattribute; -export declare function ɵɵattributeInterpolate1(attrName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolate1(attrName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate1; -export declare function ɵɵattributeInterpolate2(attrName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolate2(attrName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate2; -export declare function ɵɵattributeInterpolate3(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolate3(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate3; -export declare function ɵɵattributeInterpolate4(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolate4(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate4; -export declare function ɵɵattributeInterpolate5(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolate5(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate5; -export declare function ɵɵattributeInterpolate6(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolate6(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate6; -export declare function ɵɵattributeInterpolate7(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolate7(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate7; -export declare function ɵɵattributeInterpolate8(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolate8(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolate8; -export declare function ɵɵattributeInterpolateV(attrName: string, values: any[], sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; +export declare function ɵɵattributeInterpolateV(attrName: string, values: any[], sanitizer?: SanitizerFn, namespace?: string): typeof ɵɵattributeInterpolateV; export declare function ɵɵclassMap(classes: { [className: string]: any; @@ -724,7 +724,7 @@ export declare function ɵɵclassMapInterpolate8(prefix: string, v0: any, i0: st export declare function ɵɵclassMapInterpolateV(values: any[]): void; -export declare function ɵɵclassProp(className: string, value: boolean | null): TsickleIssue1009; +export declare function ɵɵclassProp(className: string, value: boolean | null): typeof ɵɵclassProp; export declare type ɵɵComponentDefWithMeta = ComponentDef; -export declare function ɵɵcomponentHostSyntheticListener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): TsickleIssue1009; +export declare function ɵɵcomponentHostSyntheticListener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): typeof ɵɵcomponentHostSyntheticListener; export declare function ɵɵcontainer(index: number): void; @@ -855,7 +855,7 @@ export declare function ɵɵgetFactoryOf(type: Type): FactoryFn | nul export declare function ɵɵgetInheritedFactory(type: Type): (type: Type) => T; -export declare function ɵɵhostProperty(propName: string, value: T, sanitizer?: SanitizerFn | null): TsickleIssue1009; +export declare function ɵɵhostProperty(propName: string, value: T, sanitizer?: SanitizerFn | null): typeof ɵɵhostProperty; export declare function ɵɵi18n(index: number, message: string, subTemplateIndex?: number): void; @@ -865,7 +865,7 @@ export declare function ɵɵi18nAttributes(index: number, values: string[]): voi export declare function ɵɵi18nEnd(): void; -export declare function ɵɵi18nExp(value: T): TsickleIssue1009; +export declare function ɵɵi18nExp(value: T): typeof ɵɵi18nExp; export declare function ɵɵi18nPostprocess(message: string, replacements?: { [key: string]: (string | string[]); @@ -897,7 +897,7 @@ export declare function ɵɵinjectPipeChangeDetectorRef(flags?: InjectFlags): Ch export declare function ɵɵinvalidFactory(): never; -export declare function ɵɵlistener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): TsickleIssue1009; +export declare function ɵɵlistener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): typeof ɵɵlistener; export declare function ɵɵloadQuery(): QueryList; @@ -931,27 +931,27 @@ export declare function ɵɵprojection(nodeIndex: number, selectorIndex?: number export declare function ɵɵprojectionDef(projectionSlots?: ProjectionSlots): void; -export declare function ɵɵproperty(propName: string, value: T, sanitizer?: SanitizerFn | null): TsickleIssue1009; +export declare function ɵɵproperty(propName: string, value: T, sanitizer?: SanitizerFn | null): typeof ɵɵproperty; -export declare function ɵɵpropertyInterpolate(propName: string, v0: any, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate(propName: string, v0: any, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate; -export declare function ɵɵpropertyInterpolate1(propName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate1(propName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate1; -export declare function ɵɵpropertyInterpolate2(propName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate2(propName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate2; -export declare function ɵɵpropertyInterpolate3(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate3(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate3; -export declare function ɵɵpropertyInterpolate4(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate4(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate4; -export declare function ɵɵpropertyInterpolate5(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate5(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate5; -export declare function ɵɵpropertyInterpolate6(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate6(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate6; -export declare function ɵɵpropertyInterpolate7(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate7(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate7; -export declare function ɵɵpropertyInterpolate8(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate8(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolate8; -export declare function ɵɵpropertyInterpolateV(propName: string, values: any[], sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolateV(propName: string, values: any[], sanitizer?: SanitizerFn): typeof ɵɵpropertyInterpolateV; export declare function ɵɵProvidersFeature(providers: Provider[], viewProviders?: Provider[]): (definition: DirectiveDef) => void; @@ -1033,25 +1033,25 @@ export declare function ɵɵstyleMap(styles: { [styleName: string]: any; } | NO_CHANGE | null): void; -export declare function ɵɵstyleProp(prop: string, value: string | number | SafeValue | null, suffix?: string | null): TsickleIssue1009; +export declare function ɵɵstyleProp(prop: string, value: string | number | SafeValue | null, suffix?: string | null): typeof ɵɵstyleProp; -export declare function ɵɵstylePropInterpolate1(prop: string, prefix: string, v0: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolate1(prop: string, prefix: string, v0: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate1; -export declare function ɵɵstylePropInterpolate2(prop: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolate2(prop: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate2; -export declare function ɵɵstylePropInterpolate3(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolate3(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate3; -export declare function ɵɵstylePropInterpolate4(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolate4(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate4; -export declare function ɵɵstylePropInterpolate5(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolate5(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate5; -export declare function ɵɵstylePropInterpolate6(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolate6(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate6; -export declare function ɵɵstylePropInterpolate7(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolate7(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate7; -export declare function ɵɵstylePropInterpolate8(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolate8(prop: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, valueSuffix?: string | null): typeof ɵɵstylePropInterpolate8; -export declare function ɵɵstylePropInterpolateV(prop: string, values: any[], valueSuffix?: string | null): TsickleIssue1009; +export declare function ɵɵstylePropInterpolateV(prop: string, values: any[], valueSuffix?: string | null): typeof ɵɵstylePropInterpolateV; export declare function ɵɵstyleSanitizer(sanitizer: StyleSanitizeFn | null): void; @@ -1061,27 +1061,27 @@ export declare function ɵɵtemplateRefExtractor(tNode: TNode, currentView: LVie export declare function ɵɵtext(index: number, value?: string): void; -export declare function ɵɵtextInterpolate(v0: any): TsickleIssue1009; +export declare function ɵɵtextInterpolate(v0: any): typeof ɵɵtextInterpolate; -export declare function ɵɵtextInterpolate1(prefix: string, v0: any, suffix: string): TsickleIssue1009; +export declare function ɵɵtextInterpolate1(prefix: string, v0: any, suffix: string): typeof ɵɵtextInterpolate1; -export declare function ɵɵtextInterpolate2(prefix: string, v0: any, i0: string, v1: any, suffix: string): TsickleIssue1009; +export declare function ɵɵtextInterpolate2(prefix: string, v0: any, i0: string, v1: any, suffix: string): typeof ɵɵtextInterpolate2; -export declare function ɵɵtextInterpolate3(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string): TsickleIssue1009; +export declare function ɵɵtextInterpolate3(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string): typeof ɵɵtextInterpolate3; -export declare function ɵɵtextInterpolate4(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string): TsickleIssue1009; +export declare function ɵɵtextInterpolate4(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string): typeof ɵɵtextInterpolate4; -export declare function ɵɵtextInterpolate5(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string): TsickleIssue1009; +export declare function ɵɵtextInterpolate5(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string): typeof ɵɵtextInterpolate5; -export declare function ɵɵtextInterpolate6(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string): TsickleIssue1009; +export declare function ɵɵtextInterpolate6(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string): typeof ɵɵtextInterpolate6; -export declare function ɵɵtextInterpolate7(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string): TsickleIssue1009; +export declare function ɵɵtextInterpolate7(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string): typeof ɵɵtextInterpolate7; -export declare function ɵɵtextInterpolate8(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string): TsickleIssue1009; +export declare function ɵɵtextInterpolate8(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string): typeof ɵɵtextInterpolate8; -export declare function ɵɵtextInterpolateV(values: any[]): TsickleIssue1009; +export declare function ɵɵtextInterpolateV(values: any[]): typeof ɵɵtextInterpolateV; -export declare function ɵɵupdateSyntheticHostBinding(propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null): TsickleIssue1009; +export declare function ɵɵupdateSyntheticHostBinding(propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null): typeof ɵɵupdateSyntheticHostBinding; export declare function ɵɵviewQuery(predicate: Type | string[], descend: boolean, read?: any): void;