Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -848,9 +848,12 @@ workflows:
- build-npm-packages
- build-ivy-npm-packages
- legacy-unit-tests-saucelabs
- components-repo-unit-tests:
requires:
- build-npm-packages
# The below 'components-repo-unit-tests' is disabled until the Components team support building and testing their
# repo with TypeScript 3.9. The TS 3.9 update is being done in https://github.com/angular/components/pull/19336.
# We should re-enable this CI job, when the mentioned PR gets merged.
# - components-repo-unit-tests:
# requires:
# - build-npm-packages
- test_zonejs:
requires:
- setup
Expand Down
2 changes: 1 addition & 1 deletion aio/src/app/layout/doc-viewer/doc-viewer.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('DocViewerComponent', () => {
let renderSpy: jasmine.Spy;

const setCurrentDoc = (newDoc: TestParentComponent['currentDoc']) => {
parentComponent.currentDoc = newDoc && {id: 'fizz/buzz', ...newDoc};
parentComponent.currentDoc = newDoc;
Comment thread
petebacondarwin marked this conversation as resolved.
Outdated
parentFixture.detectChanges(); // Run change detection to propagate the new doc to `DocViewer`.
safeFlushAsapScheduler(); // Flush `asapScheduler` to trigger `DocViewer#render()`.
};
Expand Down
12 changes: 7 additions & 5 deletions aio/src/app/layout/doc-viewer/doc-viewer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,16 @@ export class DocViewerComponent implements OnDestroy {
const seconds = Number(cssValue.replace(/s$/, ''));
return 1000 * seconds;
};

// Some properties are not assignable and thus cannot be animated.
Comment thread
alan-agius4 marked this conversation as resolved.
Outdated
// Example methods, readonly and CSS properties:
// "length", "parentRule", "getPropertyPriority", "getPropertyValue", "item", "removeProperty", "setProperty"
type StringValueCSSStyleDeclaration
Comment thread
alan-agius4 marked this conversation as resolved.
Outdated
= Exclude<{ [K in keyof CSSStyleDeclaration]: CSSStyleDeclaration[K] extends string ? K : never }[keyof CSSStyleDeclaration], number>;
const animateProp =
(elem: HTMLElement, prop: keyof CSSStyleDeclaration, from: string, to: string, duration = 200) => {
(elem: HTMLElement, prop: StringValueCSSStyleDeclaration, from: string, to: string, duration = 200) => {
const animationsDisabled = !DocViewerComponent.animationsEnabled
|| this.hostElement.classList.contains(NO_ANIMATIONS);
if (prop === 'length' || prop === 'parentRule') {
// We cannot animate length or parentRule properties because they are readonly
return this.void$;
}
elem.style.transition = '';
return animationsDisabled
? this.void$.pipe(tap(() => elem.style[prop] = to))
Expand Down
77 changes: 0 additions & 77 deletions integration/typings_test_ts38/include-all.ts

This file was deleted.

30 changes: 0 additions & 30 deletions integration/typings_test_ts38/package.json

This file was deleted.

26 changes: 0 additions & 26 deletions integration/typings_test_ts38/tsconfig.json

This file was deleted.

Loading