Created
April 29, 2020 06:53
-
-
Save ball6847/847f8ae81c493cfcde0f6d16e7301efc to your computer and use it in GitHub Desktop.
Generic SimpleChanges for angular
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { SimpleChanges } from '@angular/core'; | |
type SimpleChanges<T> = Record<keyof T, SimpleChange> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment