Friday, December 7, 2018

The as keyword at an import in TypeScript.

These two things can live side by side in happiness.

import { ScrollingModule } from '@angular/cdk/scrolling';
import { ScrollingModule as ExperimentalScrollingModule } from
      '@angular/cdk-experimental/scrolling';

No comments:

Post a Comment