Last active
April 21, 2018 23:43
-
-
Save shlomiassaf/626c0c9bbacde2d1223f5f16194f5fa5 to your computer and use it in GitHub Desktop.
angular-general-purpose-template-var-simple.ts
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 { Directive } from '@angular/core'; | |
@Directive({ | |
selector: '[var]', | |
exportAs: 'var' | |
}) | |
export class VarDirective { | |
[key: string]: any; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment